You are here

public function RdfUiLocalTask::__construct in Schema.org configuration tool (RDF UI) 8

Creates an FieldUiLocalTask object.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.

File

src/Plugin/Derivative/RdfUiLocalTask.php, line 44

Class

RdfUiLocalTask
Provides local task definitions for all entity bundles.

Namespace

Drupal\rdfui\Plugin\Derivative

Code

public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
  $this->routeProvider = $route_provider;
  $this->entityTypeManager = $entity_type_manager;
  $this->stringTranslation = $string_translation;
}