You are here

public function ChannelInterface::isEmpty in Courier 8

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

Determine if there is enough data to transmit a message.

Ideally some validation should also be done on the entity form.

Return value

bool

2 methods override ChannelInterface::isEmpty()
Email::isEmpty in src/Entity/Email.php
Determine if there is enough data to transmit a message.
TestMessage::isEmpty in tests/modules/courier_test_message/src/Entity/TestMessage.php
Determine if there is enough data to transmit a message.

File

src/ChannelInterface.php, line 53
Contains \Drupal\courier\ChannelInterface.

Class

ChannelInterface
Defines an interface for channels (templates).

Namespace

Drupal\courier

Code

public function isEmpty();