function FieldConfigBase::getType

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

Overrides FieldDefinitionInterface::getType

5 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.
FieldConfigBase::postCreate in core/lib/Drupal/Core/Field/FieldConfigBase.php
Acts on a created entity before hooks are invoked.

File

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

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.