hook_event_dispatcher-8.x-2.04/modules/core_event_dispatcher/src/Event/Block/BlockViewAlterEvent.php

modules/core_event_dispatcher/src/Event/Block/BlockViewAlterEvent.php
<?php

namespace Drupal\core_event_dispatcher\Event\Block;

use Drupal\core_event_dispatcher\BlockHookEvents;
use Drupal\hook_event_dispatcher\Attribute\HookEvent;

/**
 * Class BlockViewAlterEvent.
 */
#[HookEvent(id: 'block_view_alter', alter: 'block_view')]
class BlockViewAlterEvent extends BlockViewBuilderAlterEventBase {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType(): string {
    return BlockHookEvents::BLOCK_VIEW_ALTER;
  }

}

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

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