function FieldTypePluginManager::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.
Overrides FieldTypePluginManagerInterface::getPluginClass
1 call to FieldTypePluginManager::getPluginClass()
- FieldTypePluginManager::getPreconfiguredOptions in core/
lib/ Drupal/ Core/ Field/ FieldTypePluginManager.php - Returns preconfigured field options for a field type.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldTypePluginManager.php, line 169
Class
- FieldTypePluginManager
- Plugin manager for 'field type' plugins.
Namespace
Drupal\Core\FieldCode
public function getPluginClass($type) {
return $this->getDefinition($type)['class'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.