You are here

public function FieldTypePluginManagerMock::getDefaultStorageSettings in Entity Construction Kit (ECK) 8

Returns the default storage-level settings for a field type.

Parameters

string $type: A field type name.

Return value

array The type's default settings, as provided by the plugin definition, or an empty array if type or settings are undefined.

Overrides FieldTypePluginManagerDummy::getDefaultStorageSettings

File

tests/src/Unit/TestDoubles/FieldTypePluginManagerMock.php, line 13

Class

FieldTypePluginManagerMock
Mock implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function getDefaultStorageSettings($type) {
  return [];
}