public function ParagraphsBehaviorManager::getDefinitions

1 call to ParagraphsBehaviorManager::getDefinitions()
ParagraphsBehaviorManager::getApplicableDefinitions in paragraphs/src/ParagraphsBehaviorManager.php
Gets the applicable behavior plugins.

File

paragraphs/src/ParagraphsBehaviorManager.php, line 36

Class

ParagraphsBehaviorManager
Plugin type manager for paragraphs type behavior plugins.

Namespace

Drupal\paragraphs

Code

public function getDefinitions() {
  $definitions = parent::getDefinitions();
  uasort($definitions, 'Drupal\\Component\\Utility\\SortArray::sortByWeightElement');
  return $definitions;
}