You are here

public function Block::getTheme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 183
Contains \Drupal\block\Entity\Block.

Class

Block
Defines a Block configuration entity class.

Namespace

Drupal\block\Entity

Code

public function getTheme() {
  return $this->theme;
}