public function CommentEventVariables::getEntityType in Hook Event Dispatcher 8
Get the Entity type.
Return value
string Entity type.
Overrides AbstractEntityEventVariables::getEntityType
File
- src/
Event/ Preprocess/ Variables/ CommentEventVariables.php, line 30
Class
- CommentEventVariables
- Class CommentEventVariables.
Namespace
Drupal\hook_event_dispatcher\Event\Preprocess\VariablesCode
public function getEntityType() {
return 'comment';
}