You are here

public function FieldTypeExportBase::getLabel in Entity Export CSV 8

Retrieves the label.

Return value

string The label of this plugin.

Overrides FieldTypeExportInterface::getLabel

File

src/Plugin/FieldTypeExportBase.php, line 293

Class

FieldTypeExportBase
Base class for Field type export plugins.

Namespace

Drupal\entity_export_csv\Plugin

Code

public function getLabel() {
  $plugin_definition = $this
    ->getPluginDefinition();
  return isset($plugin_definition['label']) ? $plugin_definition['label'] : '';
}