public function EntityShareBlockFieldEnhancer::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/jsonapi/FieldEnhancer/EntityShareBlockFieldEnhancer.php \Drupal\entity_share\Plugin\jsonapi\FieldEnhancer\EntityShareBlockFieldEnhancer::__construct()
File
- src/
Plugin/ jsonapi/ FieldEnhancer/ EntityShareBlockFieldEnhancer.php, line 44
Class
- EntityShareBlockFieldEnhancer
- Prepare block field value to be able to handle block content entities.
Namespace
Drupal\entity_share\Plugin\jsonapi\FieldEnhancerCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entity_type_manager;
$this->languageManager = $language_manager;
}