You are here

public function RecipientTypePluginCollection::sort in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/RecipientTypePluginCollection.php \Drupal\workbench_email\RecipientTypePluginCollection::sort()

Sorts all plugin instances in this collection.

Return value

$this

Overrides DefaultLazyPluginCollection::sort

File

src/RecipientTypePluginCollection.php, line 63

Class

RecipientTypePluginCollection
A collection of recipient types.

Namespace

Drupal\workbench_email

Code

public function sort() {
  $this
    ->getAll();
  return parent::sort();
}