You are here

public function FieldTypePluginManagerInterface::getPluginClass in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getPluginClass()
  2. 9 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getPluginClass()

Returns the PHP class that implements the field type plugin.

Parameters

string $type: A field type name.

Return value

string Field type plugin class name.

Throws

\Drupal\Component\Plugin\Exception\PluginNotFoundException Thrown if the field type plugin name is invalid.

1 method overrides FieldTypePluginManagerInterface::getPluginClass()
FieldTypePluginManager::getPluginClass in core/lib/Drupal/Core/Field/FieldTypePluginManager.php
Returns the PHP class that implements the field type plugin.

File

core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php, line 119

Class

FieldTypePluginManagerInterface
Defines an interface for the field type plugin manager.

Namespace

Drupal\Core\Field

Code

public function getPluginClass($type);