public function FieldUiLocalTask::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalTask::__construct()
Creates an FieldUiLocalTask object.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
File
- core/
modules/ field_ui/ src/ Plugin/ Derivative/ FieldUiLocalTask.php, line 48 - Contains \Drupal\field_ui\Plugin\Derivative\FieldUiLocalTask.
Class
- FieldUiLocalTask
- Provides local task definitions for all entity bundles.
Namespace
Drupal\field_ui\Plugin\DerivativeCode
public function __construct(RouteProviderInterface $route_provider, EntityManagerInterface $entity_manager, TranslationInterface $string_translation) {
$this->routeProvider = $route_provider;
$this->entityManager = $entity_manager;
$this->stringTranslation = $string_translation;
}