public static function ParagraphsSliderPlugin::create

Overrides ParagraphsBehaviorBase::create

File

paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsSliderPlugin.php, line 94

Class

ParagraphsSliderPlugin
Provides Slider plugin.

Namespace

Drupal\paragraphs_collection_demo\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('slick.manager'), $container
    ->get('entity_type.manager'), $container
    ->get('module_handler'), $container
    ->get('current_user'));
}