You are here

public function DsFieldTemplateBase::getThemeFunction in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsFieldTemplate/DsFieldTemplateBase.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateBase::getThemeFunction()
  2. 8.3 src/Plugin/DsFieldTemplate/DsFieldTemplateBase.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateBase::getThemeFunction()

Gets the chosen theme function.

Return value

string The theme function.

Overrides DsFieldTemplateInterface::getThemeFunction

File

src/Plugin/DsFieldTemplate/DsFieldTemplateBase.php, line 102

Class

DsFieldTemplateBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsFieldTemplate

Code

public function getThemeFunction() {
  return $this->pluginDefinition['theme'];
}