public static function LayoutParagraphsBehavior::create in Layout Paragraphs 2.0.x
File
- src/
Plugin/ paragraphs/ Behavior/ LayoutParagraphsBehavior.php, line 99
Class
- LayoutParagraphsBehavior
- Provides a way to define grid based layouts.
Namespace
Drupal\layout_paragraphs\Plugin\paragraphs\BehaviorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_field.manager'), $container
->get('plugin.manager.core.layout'), $container
->get('entity_type.manager'), $container
->get('layout_paragraphs.renderer'));
}