You are here

public static function PreprocessEntityEventInterface::name in Hook Event Dispatcher 8

Get the event name, with optional bundle and view mode.

Parameters

string $bundle: Optional bundle.

string $viewMode: Optional view mode.

Return value

string Event name.

Overrides PreprocessEventInterface::name

File

src/Event/Preprocess/PreprocessEntityEventInterface.php, line 21

Class

PreprocessEntityEventInterface
Interface PreprocessEntityEventInterface.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess

Code

public static function name($bundle = '', $viewMode = '');