You are here

public static function SortableViewsStyleTrait::create in Sortableviews 8

File

src/SortableViewsStyleTrait.php, line 63

Class

SortableViewsStyleTrait
Provides sortable functionality for View styles.

Namespace

Drupal\sortableviews

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('entity_type.manager'), $container
    ->get('url_generator'), $container
    ->get('entity_field.manager'));
}