Pocisceno

pull/59/head
Jurij Podgoršek 2024-04-11 21:35:30 +02:00
parent 33c57b8594
commit 2be8cf3f60
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ use Drupal\node\NodeInterface;
* Implements hook_entity_update().
*/
function yufu_concept_node_presave(EntityInterface $entity) {
//function yufu_concept_entity_update(EntityInterface $entity) {
if ($entity instanceOf NodeInterface && $entity->bundle() == 'concept') {
$transition = \Drupal::service('content_moderation_notifications.notification_information')->getTransition($entity);
if ($transition->id() == 'publish') {