public function PersistedQueryPluginBase::label in GraphQL 8.4
Returns the label for use on the administration pages.
Return value
string The administration label.
Overrides PersistedQueryPluginInterface::label
File
- src/
PersistedQuery/ PersistedQueryPluginBase.php, line 37
Class
- PersistedQueryPluginBase
- Base class persisted query plugins that represent a GraphQL persisted query.
Namespace
Drupal\graphql\PersistedQueryCode
public function label() {
$plugin_definition = $this
->getPluginDefinition();
return $plugin_definition['label'];
}