function FieldConfigBase::getType

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::getType()
  2. 10 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::getType()
  3. 11.x core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::getType()

Overrides FieldDefinitionInterface::getType

4 calls to FieldConfigBase::getType()
BaseFieldOverride::preSave in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
FieldConfigBase::calculateDependencies in core/lib/Drupal/Core/Field/FieldConfigBase.php
Calculates dependencies and stores them in the dependency property.
FieldConfigBase::getClass in core/lib/Drupal/Core/Field/FieldConfigBase.php
Returns the class used for creating the typed data object.
FieldConfigBase::onDependencyRemoval in core/lib/Drupal/Core/Field/FieldConfigBase.php
Informs the entity that entities it depends on will be deleted.

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 211

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.