public function DynamicAddEntityLocalActions::__construct in Apigee Edge 8
Creates an DynamicAddEntityLocalTasks object.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
File
- src/
Plugin/ Derivative/ DynamicAddEntityLocalActions.php, line 69
Class
- DynamicAddEntityLocalActions
- Add add entity local actions for Apigee Edge entity's collection routes.
Namespace
Drupal\apigee_edge\Plugin\DerivativeCode
public function __construct($base_plugin_id, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
$this->basePluginId = $base_plugin_id;
}