You are here

DefaultCapabilities.php in SMS Framework 8

File

tests/modules/sms_test_gateway/src/Plugin/SmsGateway/DefaultCapabilities.php
View source
<?php

namespace Drupal\sms_test_gateway\Plugin\SmsGateway;

use Drupal\sms\Plugin\SmsGatewayPluginBase;
use Drupal\sms\Message\SmsMessageInterface;

/**
 * A gateway for testing undefined capability annotation values.
 *
 * This gateway does not provide any annotation values other than required
 * properties: 'id' and 'label'.
 *
 * @SmsGateway(
 *   id = "capabilities_default",
 *   label = @Translation("Default annotation capabilities")
 * )
 */
class DefaultCapabilities extends SmsGatewayPluginBase {

  /**
   * {@inheritdoc}
   */
  public function send(SmsMessageInterface $sms) {
  }

}

Classes

Namesort descending Description
DefaultCapabilities A gateway for testing undefined capability annotation values.