abstract class AbstractPreprocessEntityEvent in Hook Event Dispatcher 8
Class AbstractPreprocessEntityEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEntityEvent implements PreprocessEntityEventInterface
Expanded class hierarchy of AbstractPreprocessEntityEvent
File
- src/
Event/ Preprocess/ AbstractPreprocessEntityEvent.php, line 8
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessView source
abstract class AbstractPreprocessEntityEvent extends AbstractPreprocessEvent implements PreprocessEntityEventInterface {
/**
* {@inheritdoc}
*/
public static function name($bundle = '', $viewMode = '') {
return \implode('.', \array_filter([
parent::name(),
$bundle,
$viewMode,
]));
}
/**
* {@inheritdoc}
*/
public function getVariables() {
return $this->variables;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractPreprocessEntityEvent:: |
public | function |
Get the variables. Overrides AbstractPreprocessEvent:: |
|
AbstractPreprocessEntityEvent:: |
public static | function |
Get the Event name. Overrides AbstractPreprocessEvent:: |
|
AbstractPreprocessEvent:: |
protected | property | Event variables. | |
AbstractPreprocessEvent:: |
public | function | PreprocessEvent constructor. | |
PreprocessEventInterface:: |
constant | |||
PreprocessEventInterface:: |
public static | function | Get the hook name. | 18 |