class EdgeEntityDeleteEventDeriver in Apigee Edge 8
Deriver for Edge entity delete events.
Hierarchy
- class \Drupal\Component\Plugin\Derivative\DeriverBase implements DeriverInterface
- class \Drupal\apigee_edge_actions\Plugin\RulesEvent\EdgeEntityEventDeriverBase implements EdgeEntityEventDeriverInterface uses StringTranslationTrait
- class \Drupal\apigee_edge_actions\Plugin\RulesEvent\EdgeEntityDeleteEventDeriver
- class \Drupal\apigee_edge_actions\Plugin\RulesEvent\EdgeEntityEventDeriverBase implements EdgeEntityEventDeriverInterface uses StringTranslationTrait
Expanded class hierarchy of EdgeEntityDeleteEventDeriver
1 string reference to 'EdgeEntityDeleteEventDeriver'
- apigee_edge_actions.rules.events.yml in modules/
apigee_edge_actions/ apigee_edge_actions.rules.events.yml - modules/apigee_edge_actions/apigee_edge_actions.rules.events.yml
File
- modules/
apigee_edge_actions/ src/ Plugin/ RulesEvent/ EdgeEntityDeleteEventDeriver.php, line 28
Namespace
Drupal\apigee_edge_actions\Plugin\RulesEventView source
class EdgeEntityDeleteEventDeriver extends EdgeEntityEventDeriverBase {
/**
* {@inheritdoc}
*/
public function getLabel(EdgeEntityTypeInterface $entity_type) : string {
return $this
->t('After deleting a @entity_type', [
'@entity_type' => $entity_type
->getSingularLabel(),
]);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DeriverBase:: |
protected | property | List of derivative definitions. | 1 |
DeriverBase:: |
public | function |
Gets the definition of a derivative plugin. Overrides DeriverInterface:: |
|
EdgeEntityDeleteEventDeriver:: |
public | function |
Returns the event's label. Example: 'After saving a new App'. Overrides EdgeEntityEventDeriverInterface:: |
|
EdgeEntityEventDeriverBase:: |
protected | property | The apigee app entity type manager service. | |
EdgeEntityEventDeriverBase:: |
public static | function |
Creates a new class instance. Overrides ContainerDeriverInterface:: |
|
EdgeEntityEventDeriverBase:: |
public | function |
Returns an array of event context. Overrides EdgeEntityEventDeriverInterface:: |
4 |
EdgeEntityEventDeriverBase:: |
public | function |
Gets the definition of all derivatives of a base plugin. Overrides DeriverBase:: |
|
EdgeEntityEventDeriverBase:: |
public | function |
Returns an array of entity types that are compatible to this event. Overrides EdgeEntityEventDeriverInterface:: |
3 |
EdgeEntityEventDeriverBase:: |
public | function | AppEventDeriver constructor. | |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |