You are here

public function ViewsFieldTemplate::__construct in Calendar 8

Same name in this branch
  1. 8 src/Plugin/Derivative/ViewsFieldTemplate.php \Drupal\calendar\Plugin\Derivative\ViewsFieldTemplate::__construct()
  2. 8 src/Plugin/ViewsTemplateBuilder/ViewsFieldTemplate.php \Drupal\calendar\Plugin\ViewsTemplateBuilder\ViewsFieldTemplate::__construct()

Constructor to the class ViewDuplicateBuilderBase.

Overrides ViewsDuplicateBuilderBase::__construct

File

src/Plugin/ViewsTemplateBuilder/ViewsFieldTemplate.php, line 32

Class

ViewsFieldTemplate
Views Template for all calendar fields.

Namespace

Drupal\calendar\Plugin\ViewsTemplateBuilder

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ViewsTemplateLoaderInterface $loader, EntityFieldManagerInterface $manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $loader);
  $this->fieldManager = $manager;
}