You are here

public function EdgeEntityAddProductEventDeriver::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/EdgeEntityAddProductEventDeriver.php, line 33

Class

EdgeEntityAddProductEventDeriver
Deriver for Edge entity add_product events.

Namespace

Drupal\apigee_edge_actions\Plugin\RulesEvent

Code

public function getLabel(EdgeEntityTypeInterface $entity_type) : string {
  return $this
    ->t('After adding an API product');
}