function BaseFieldDefinition::getType

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

Overrides FieldDefinitionInterface::getType

1 call to BaseFieldDefinition::getType()
BaseFieldDefinition::getSchema in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns the field schema.
1 method overrides BaseFieldDefinition::getType()
BaseFieldDefinitionTest::getType in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php
Returns the field type.

File

core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 131

Class

BaseFieldDefinition
A class for defining entity fields.

Namespace

Drupal\Core\Field

Code

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

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