You are here

public function DsFieldBase::getTitle in Display Suite 8.2

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

Returns the title of the field.

Overrides DsFieldInterface::getTitle

1 method overrides DsFieldBase::getTitle()
DynamicBlockField::getTitle in src/Plugin/DsField/DynamicBlockField.php
Returns the title of the block.

File

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

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function getTitle() {
  return $this->configuration['field']['title'];
}