public function User::__construct in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/DsField/User/User.php \Drupal\ds\Plugin\DsField\User\User::__construct()
Constructs a Display Suite field plugin.
Overrides Entity::__construct
File
- src/
Plugin/ DsField/ User/ User.php, line 32
Class
- User
- Plugin that renders a view mode.
Namespace
Drupal\ds\Plugin\DsField\UserCode
public function __construct($configuration, $plugin_id, $plugin_definition, EntityDisplayRepositoryInterface $entity_display_repository, EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_display_repository);
}