public function TypedData::getPluginId in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/TypedData/TypedData.php \Drupal\Core\TypedData\TypedData::getPluginId()
Gets the plugin_id of the plugin instance.
Return value
string The plugin_id of the plugin instance.
Overrides PluginInspectionInterface::getPluginId
File
- core/
lib/ Drupal/ Core/ TypedData/ TypedData.php, line 73
Class
- TypedData
- The abstract base class for typed data.
Namespace
Drupal\Core\TypedDataCode
public function getPluginId() {
return $this->definition['type'];
}