public function TemplateCollection::getOwner in Courier 2.x
Same name and namespace in other branches
- 8 src/Entity/TemplateCollection.php \Drupal\courier\Entity\TemplateCollection::getOwner()
Gets the owner entity.
Return value
\Drupal\Core\Entity\EntityInterface|null The owner entity, or NULL if it does not exist.
Overrides TemplateCollectionInterface::getOwner
File
- src/
Entity/ TemplateCollection.php, line 50
Class
- TemplateCollection
- Defines a local template collection entity.
Namespace
Drupal\courier\EntityCode
public function getOwner() {
return $this
->get('owner')->entity;
}