You are here

public static function EventMetaInterface::createInstance in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::createInstance()
  2. 8 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\rng

Code

public static function createInstance(ContainerInterface $container, EntityInterface $entity);