You are here

public function DsFieldBase::getName in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::getName()
  2. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::getName()

Gets the field name.

Return value

string The field name.

Overrides DsFieldInterface::getName

File

src/Plugin/DsField/DsFieldBase.php, line 156

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function getName() {
  return $this->configuration['field_name'];
}