You are here

public function FieldTypePluginManagerDummy::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 FieldTypePluginManagerInterface::getDefaultFieldSettings

1 method overrides FieldTypePluginManagerDummy::getDefaultFieldSettings()
FieldTypePluginManagerMock::getDefaultFieldSettings in tests/src/Unit/TestDoubles/FieldTypePluginManagerMock.php
Returns the default field-level settings for a field type.

File

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

Class

FieldTypePluginManagerDummy
Dummy implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function getDefaultFieldSettings($type) {

  // Stub.
}