You are here

function TemplateCollectionInterface::removeTemplate in Courier 8

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

Removes a template with the channel entity type.

Parameters

string $channel_type_id: A channel entity type ID.

Return value

\Drupal\courier\TemplateCollectionInterface Return this object for chaining.

1 method overrides TemplateCollectionInterface::removeTemplate()
TemplateCollection::removeTemplate in src/Entity/TemplateCollection.php
Removes a template with the channel entity type.

File

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

Class

TemplateCollectionInterface
Provides an interface defining a courier_template_collection entity.

Namespace

Drupal\courier

Code

function removeTemplate($channel_type_id);