public function NodeSubmittedBy::__construct in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/DsField/Node/NodeSubmittedBy.php \Drupal\ds\Plugin\DsField\Node\NodeSubmittedBy::__construct()
- 8.3 src/Plugin/DsField/Node/NodeSubmittedBy.php \Drupal\ds\Plugin\DsField\Node\NodeSubmittedBy::__construct()
Constructs a Display Suite field plugin.
Overrides Date::__construct
File
- src/
Plugin/ DsField/ Node/ NodeSubmittedBy.php, line 34
Class
- NodeSubmittedBy
- Plugin that renders the submitted by field.
Namespace
Drupal\ds\Plugin\DsField\NodeCode
public function __construct($configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, Renderer $renderer, DateFormatterInterface $date_service, TimeInterface $time_service) {
$this->renderer = $renderer;
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $date_service, $time_service);
}