function BlockVisibility::create
Same name in other branches
- 9 core/modules/block/src/Plugin/migrate/process/BlockVisibility.php \Drupal\block\Plugin\migrate\process\BlockVisibility::create()
- 10 core/modules/block/src/Plugin/migrate/process/BlockVisibility.php \Drupal\block\Plugin\migrate\process\BlockVisibility::create()
- 11.x core/modules/block/src/Plugin/migrate/process/BlockVisibility.php \Drupal\block\Plugin\migrate\process\BlockVisibility::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockVisibility.php, line 96
Class
- BlockVisibility
- Plugin annotation @MigrateProcessPlugin( id = "block_visibility" )
Namespace
Drupal\block\Plugin\migrate\processCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('module_handler'), $container->get('migrate.lookup'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.