You are here

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

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

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/SmsGateway.php, line 186

Class

SmsGateway
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function getPluginCollections() {
  return [
    'settings' => $this
      ->getPluginCollection(),
  ];
}