You are here

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

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

Parameters

string $type: A field type name.

Return value

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

Overrides FieldTypePluginManagerDummy::getDefaultFieldSettings

File

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

Class

FieldTypePluginManagerMock
Mock implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

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