You are here

public static function LayoutParagraphsPlugin::create in Layout Paragraphs 1.0.x

File

src/Plugin/paragraphs/Behavior/LayoutParagraphsPlugin.php, line 59

Class

LayoutParagraphsPlugin
Provides a way to define grid based layouts.

Namespace

Drupal\layout_paragraphs\Plugin\paragraphs\Behavior

Code

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'));
}