You are here

FieldTypePluginManagerMock.php in Entity Construction Kit (ECK) 8

File

tests/src/Unit/TestDoubles/FieldTypePluginManagerMock.php
View source
<?php

namespace Drupal\Tests\eck\Unit\TestDoubles;


/**
 * Mock implementation of FieldTypePluginManagerInterface.
 */
class FieldTypePluginManagerMock extends FieldTypePluginManagerDummy {

  /**
   * {@inheritdoc}
   */
  public function getDefaultStorageSettings($type) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getDefaultFieldSettings($type) {
    return [];
  }

}

Classes

Namesort descending Description
FieldTypePluginManagerMock Mock implementation of FieldTypePluginManagerInterface.