You are here

public function EditableFieldsHelper::getAllFieldTypes in Editable Fields 8

Same name and namespace in other branches
  1. 1.0.x src/services/EditableFieldsHelper.php \Drupal\editablefields\services\EditableFieldsHelper::getAllFieldTypes()

Get machine names of all the field types.

Return value

array Array of all field types machine names.

Overrides EditableFieldsHelperInterface::getAllFieldTypes

1 call to EditableFieldsHelper::getAllFieldTypes()
EditableFieldsHelper::formatterInfoAlter in src/services/EditableFieldsHelper.php
Make "editablefields" formatter available for all the field types.

File

src/services/EditableFieldsHelper.php, line 79

Class

EditableFieldsHelper
Class EditableFieldsHelper.

Namespace

Drupal\editablefields\services

Code

public function getAllFieldTypes() {
  return array_keys($this->pluginManagerFieldFieldType
    ->getDefinitions());
}