function ShortcutSetUsers::create

Same name in other branches
  1. 9 core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php \Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers::create()
  2. 10 core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php \Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers::create()
  3. 11.x core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php \Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers::create()

Overrides ContainerFactoryPluginInterface::create

File

core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php, line 49

Class

ShortcutSetUsers
Plugin annotation @MigrateDestination( id = "shortcut_set_users" )

Namespace

Drupal\shortcut\Plugin\migrate\destination

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
    return new static($configuration, $plugin_id, $plugin_definition, $migration, $container->get('entity_type.manager')
        ->getStorage('shortcut_set'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.