public function DevelLocalTask::__construct in Search API Solr 8
Creates an DevelLocalTask object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
File
- src/
Plugin/ Derivative/ DevelLocalTask.php, line 34
Class
- DevelLocalTask
- Provides local task definitions for all entity bundles.
Namespace
Drupal\search_api_solr\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
}