function public function SettingBase::getTitle

8.x-3.x SettingBase.php public SettingBase::getTitle()

Retrieves the setting's human-readable title.

Return value

string The setting's type.

Overrides SettingInterface::getTitle

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 243)

public function getTitle() {
  return !empty($this->pluginDefinition['title']) ? $this->pluginDefinition['title'] : NULL;
}