ifthenelse-8.x-1.x-dev-no-core/modules/contrib/if_then_else/src/core/Nodes/Events/SystemLogEntryIsCreated/SystemLogEntryIsCreated.php

modules/contrib/if_then_else/src/core/Nodes/Events/SystemLogEntryIsCreated/SystemLogEntryIsCreated.php
<?php

namespace Drupal\if_then_else\core\Nodes\Events\SystemLogEntryIsCreated;

use Drupal\if_then_else\core\Nodes\Events\Event;
use Drupal\if_then_else\Event\NodeSubscriptionEvent;

/**
 * System Log Entry Is Created event node class.
 */
class SystemLogEntryIsCreated extends Event {

  /**
   * Return name of node.
   */
  public static function getName() {
    return 'system_log_entry_is_created_event';
  }

  /**
   * Event subscriber for System Log Entry Is Created event node.
   */
  public function registerNode(NodeSubscriptionEvent $event) {
    $event->nodes[static::getName()] = [
      'label' => t('System Log Entry Is Created'),
      'type' => 'event',
      'class' => 'Drupal\\if_then_else\\core\\Nodes\\Events\\SystemLogEntryIsCreated\\SystemLogEntryIsCreated',
    ];
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc