You are here

public function FieldTypePluginManagerDummy::getGroupedDefinitions in Entity Construction Kit (ECK) 8

Gets sorted plugin definitions grouped by category.

In addition to grouping, both categories and its entries are sorted, whereas plugin definitions are sorted by label.

Parameters

array[]|null $definitions: (optional) The plugin definitions to group. If omitted, all plugin definitions are used.

Return value

array[] Keys are category names, and values are arrays of which the keys are plugin IDs and the values are plugin definitions.

Overrides CategorizingPluginManagerInterface::getGroupedDefinitions

File

tests/src/Unit/TestDoubles/FieldTypePluginManagerDummy.php, line 31

Class

FieldTypePluginManagerDummy
Dummy implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function getGroupedDefinitions(array $definitions = NULL) {

  // Stub.
}