You are here

public function SmsGateway::isScheduleAware in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::isScheduleAware()
  2. 2.x src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::isScheduleAware()

Get whether this gateway is schedule aware.

Return value

bool Whether this gateway is schedule aware.

Overrides SmsGatewayInterface::isScheduleAware

File

src/Entity/SmsGateway.php, line 318

Class

SmsGateway
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function isScheduleAware() {
  $definition = $this
    ->getPlugin()
    ->getPluginDefinition();
  return !empty($definition['schedule_aware']);
}