function FieldTypePluginManagerInterface::getPluginClass
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getPluginClass()
- 10 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getPluginClass()
- 11.x 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\FieldCode
public function getPluginClass($type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.