You are here

public function DsFieldBase::getTitle 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::getTitle()
  2. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::getTitle()

Returns the title of the field.

Return value

string The configured field title.

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 163

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

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