public function CommentEventVariables::getEntityType in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Variables/CommentEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\CommentEventVariables::getEntityType()
Get the Entity type.
Return value
string Entity type.
Overrides AbstractEntityEventVariables::getEntityType
File
- modules/
preprocess_event_dispatcher/ src/ Variables/ CommentEventVariables.php, line 33
Class
- CommentEventVariables
- Class CommentEventVariables.
Namespace
Drupal\preprocess_event_dispatcher\VariablesCode
public function getEntityType() : string {
return 'comment';
}