You are here

function TemplateCollectionInterface::getContext in Courier 8

Same name and namespace in other branches
  1. 2.x src/TemplateCollectionInterface.php \Drupal\courier\TemplateCollectionInterface::getContext()

Gets the context entity.

Return value

\Drupal\courier\CourierContextInterface|NULL The context entity, or NULL if it does not exist.

1 method overrides TemplateCollectionInterface::getContext()
TemplateCollection::getContext in src/Entity/TemplateCollection.php
Gets the context entity.

File

src/TemplateCollectionInterface.php, line 24
Contains \Drupal\courier\TemplateCollectionInterface.

Class

TemplateCollectionInterface
Provides an interface defining a courier_template_collection entity.

Namespace

Drupal\courier

Code

function getContext();