You are here

public function FieldStorageConfig::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getType()

Returns the field type.

Return value

string The field type, i.e. the id of a field type plugin. For example 'text'.

Overrides FieldStorageConfigInterface::getType

6 calls to FieldStorageConfig::getType()
FieldStorageConfig::calculateDependencies in core/modules/field/src/Entity/FieldStorageConfig.php
Calculates dependencies and stores them in the dependency property.
FieldStorageConfig::getCardinality in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the maximum number of items allowed for the field.
FieldStorageConfig::getFieldItemClass in core/modules/field/src/Entity/FieldStorageConfig.php
Helper to retrieve the field item class.
FieldStorageConfig::getSettings in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the storage settings.
FieldStorageConfig::preSaveNew in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving a new field definition.

... See full list

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 531

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function getType() {
  return $this->type;
}