FieldConfigBase::getDataType

public FieldConfigBase::getDataType()

Returns the data type of the data.

Return value

string The data type.

Overrides DataDefinitionInterface::getDataType

File

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

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

1
2
3
public function getDataType() {
  return 'list';
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.