public static function EventMetaInterface::createInstance in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::createInstance()
- 3.x src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::createInstance()
Instantiates a new instance of EventMeta handler.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container.
\Drupal\Core\Entity\EntityInterface $entity: The event entity.
Return value
static A new EventMeta instance.
1 method overrides EventMetaInterface::createInstance()
- EventMeta::createInstance in src/
EventMeta.php - Instantiates a new instance of EventMeta handler.
File
- src/
EventMetaInterface.php, line 30
Class
- EventMetaInterface
- Interface for EventMeta.
Namespace
Drupal\rngCode
public static function createInstance(ContainerInterface $container, EntityInterface $entity);