public function BaseFieldDefinition::getType in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/BaseFieldDefinition.php \Drupal\Core\Field\BaseFieldDefinition::getType()
Returns the field type.
Return value
string The field type, i.e. the id of a field type plugin. For example 'text'.
Overrides FieldDefinitionInterface::getType
See also
\Drupal\Core\Field\FieldTypePluginManagerInterface
1 call to BaseFieldDefinition::getType()
- BaseFieldDefinition::getSchema in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the field schema.
File
- core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php, line 137 - Contains \Drupal\Core\Field\BaseFieldDefinition.
Class
- BaseFieldDefinition
- A class for defining entity fields.
Namespace
Drupal\Core\FieldCode
public function getType() {
return $this->type;
}