public function Block::getTheme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\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;
}