public function LayoutParagraphsFormatter::__construct in Layout Paragraphs 1.0.x
Constructs an EntityReferenceLayoutFormatter instance.
File
- src/
Plugin/ Field/ FieldFormatter/ LayoutParagraphsFormatter.php, line 41
Class
- LayoutParagraphsFormatter
- Layout Paragraphs field formatter.
Namespace
Drupal\layout_paragraphs\Plugin\Field\FieldFormatterCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, LoggerChannelFactoryInterface $logger_factory, EntityDisplayRepositoryInterface $entity_display_repository, LayoutPluginManager $layout_plugin_manager) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings, $logger_factory, $entity_display_repository);
$this->layoutPluginManager = $layout_plugin_manager;
}