public function EntityUsageLocalTask::__construct in Entity Usage 8
Same name and namespace in other branches
- 8.4 src/Plugin/Derivative/EntityUsageLocalTask.php \Drupal\entity_usage\Plugin\Derivative\EntityUsageLocalTask::__construct()
- 8.2 src/Plugin/Derivative/EntityUsageLocalTask.php \Drupal\entity_usage\Plugin\Derivative\EntityUsageLocalTask::__construct()
- 8.3 src/Plugin/Derivative/EntityUsageLocalTask.php \Drupal\entity_usage\Plugin\Derivative\EntityUsageLocalTask::__construct()
Creates an EntityUsageLocalTask object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\Config\ConfigFactoryInterface $config: The config factory service.
File
- src/
Plugin/ Derivative/ EntityUsageLocalTask.php, line 41
Class
- EntityUsageLocalTask
- Provides local task definitions for all entity types.
Namespace
Drupal\entity_usage\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config) {
$this->entityTypeManager = $entity_type_manager;
$this->config = $config;
}