function EntityTestContainerFactoryPlugin::create
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestContainerFactoryPlugin::create()
- 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestContainerFactoryPlugin::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestContainerFactoryPlugin.php, line 24
Class
- EntityTestContainerFactoryPlugin
- A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory.
Namespace
Drupal\entity_test\Plugin\Validation\ConstraintCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.