public function CommentUser::__construct in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/DsField/Comment/CommentUser.php \Drupal\ds\Plugin\DsField\Comment\CommentUser::__construct()
Constructs a Display Suite field plugin.
Overrides Entity::__construct
File
- src/
Plugin/ DsField/ Comment/ CommentUser.php, line 32
Class
- CommentUser
- Plugin that renders a view mode.
Namespace
Drupal\ds\Plugin\DsField\CommentCode
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);
}