public static function EntityTraversalContainerInjectionInterface::create in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_fields/src/EntityTraversalContainerInjectionInterface.php \Drupal\gdpr_fields\EntityTraversalContainerInjectionInterface::create()
- 3.0.x modules/gdpr_fields/src/EntityTraversalContainerInjectionInterface.php \Drupal\gdpr_fields\EntityTraversalContainerInjectionInterface::create()
Creates an instance of the traversal for this specific entity.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this instance should use.
\Drupal\Core\Entity\EntityInterface $base_entity: The entity to be traversed.
1 method overrides EntityTraversalContainerInjectionInterface::create()
- EntityTraversal::create in modules/
gdpr_fields/ src/ EntityTraversal.php - Creates an instance of the traversal for this specific entity.
File
- modules/
gdpr_fields/ src/ EntityTraversalContainerInjectionInterface.php, line 24
Class
- EntityTraversalContainerInjectionInterface
- Defines a common interface for dependency container injection.
Namespace
Drupal\gdpr_fieldsCode
public static function create(ContainerInterface $container, EntityInterface $base_entity);