You are here

class FieldTypePluginManagerDummy in Entity Construction Kit (ECK) 8

Dummy implementation of FieldTypePluginManagerInterface.

Hierarchy

Expanded class hierarchy of FieldTypePluginManagerDummy

File

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

Namespace

Drupal\Tests\eck\Unit\TestDoubles
View source
class FieldTypePluginManagerDummy implements FieldTypePluginManagerInterface {

  /**
   * {@inheritdoc}
   */
  public function getCategories() {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getSortedDefinitions(array $definitions = NULL) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getGroupedDefinitions(array $definitions = NULL) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getDefinition($plugin_id, $exception_on_invalid = TRUE) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getDefinitions() {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function hasDefinition($plugin_id) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function createInstance($plugin_id, array $configuration = []) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function createFieldItemList(FieldableEntityInterface $entity, $field_name, $values = NULL) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function createFieldItem(FieldItemListInterface $items, $index, $values = NULL) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getDefaultFieldSettings($type) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getDefaultStorageSettings($type) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getUiDefinitions() {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getPluginClass($type) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getInstance(array $options) {

    // Stub.
  }

  /**
   * {@inheritdoc}
   */
  public function getPreconfiguredOptions($field_type) {

    // Stub.
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FieldTypePluginManagerDummy::createFieldItem public function Creates a new field item as part of a field item list. Overrides FieldTypePluginManagerInterface::createFieldItem
FieldTypePluginManagerDummy::createFieldItemList public function Creates a new field item list. Overrides FieldTypePluginManagerInterface::createFieldItemList
FieldTypePluginManagerDummy::createInstance public function Creates a pre-configured instance of a plugin. Overrides FactoryInterface::createInstance
FieldTypePluginManagerDummy::getCategories public function Gets the names of all categories. Overrides CategorizingPluginManagerInterface::getCategories
FieldTypePluginManagerDummy::getDefaultFieldSettings public function Returns the default field-level settings for a field type. Overrides FieldTypePluginManagerInterface::getDefaultFieldSettings 1
FieldTypePluginManagerDummy::getDefaultStorageSettings public function Returns the default storage-level settings for a field type. Overrides FieldTypePluginManagerInterface::getDefaultStorageSettings 1
FieldTypePluginManagerDummy::getDefinition public function Gets a specific plugin definition. Overrides DiscoveryInterface::getDefinition
FieldTypePluginManagerDummy::getDefinitions public function Gets the definition of all plugins for this type. Overrides DiscoveryInterface::getDefinitions
FieldTypePluginManagerDummy::getGroupedDefinitions public function Gets sorted plugin definitions grouped by category. Overrides CategorizingPluginManagerInterface::getGroupedDefinitions
FieldTypePluginManagerDummy::getInstance public function Gets a preconfigured instance of a plugin. Overrides MapperInterface::getInstance
FieldTypePluginManagerDummy::getPluginClass public function Returns the PHP class that implements the field type plugin. Overrides FieldTypePluginManagerInterface::getPluginClass
FieldTypePluginManagerDummy::getPreconfiguredOptions public function Returns preconfigured field options for a field type. Overrides FieldTypePluginManagerInterface::getPreconfiguredOptions
FieldTypePluginManagerDummy::getSortedDefinitions public function Gets sorted plugin definitions. Overrides CategorizingPluginManagerInterface::getSortedDefinitions
FieldTypePluginManagerDummy::getUiDefinitions public function Gets the definition of all field types that can be added via UI. Overrides FieldTypePluginManagerInterface::getUiDefinitions
FieldTypePluginManagerDummy::hasDefinition public function Indicates if a specific plugin definition exists. Overrides DiscoveryInterface::hasDefinition