function Block::getTheme
Returns the theme ID.
Return value
string The theme ID for this block instance.
Overrides BlockInterface::getTheme
File
-
core/
modules/ block/ src/ Entity/ Block.php, line 188
Class
- Block
- Defines a Block configuration entity class.
Namespace
Drupal\block\EntityCode
public function getTheme() {
return $this->theme;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.