You are here

public function FieldStorageConfig::getType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

5 calls to FieldStorageConfig::getType()
FieldStorageConfig::calculateDependencies in core/modules/field/src/Entity/FieldStorageConfig.php
Calculates dependencies and stores them in the dependency property.
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.
FieldStorageConfig::preSaveUpdated in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving an updated field definition.

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 533
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

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