public function EdgeEntityDeleteEventDeriver::getLabel in Apigee Edge 8
Returns the event's label. Example: 'After saving a new App'.
Parameters
\Drupal\apigee_edge\Entity\EdgeEntityTypeInterface $entity_type: The Apigee Edge entity type.
Return value
string The event's label.
Overrides EdgeEntityEventDeriverInterface::getLabel
File
- modules/
apigee_edge_actions/ src/ Plugin/ RulesEvent/ EdgeEntityDeleteEventDeriver.php, line 33
Class
- EdgeEntityDeleteEventDeriver
- Deriver for Edge entity delete events.
Namespace
Drupal\apigee_edge_actions\Plugin\RulesEventCode
public function getLabel(EdgeEntityTypeInterface $entity_type) : string {
return $this
->t('After deleting a @entity_type', [
'@entity_type' => $entity_type
->getSingularLabel(),
]);
}