function BlockInterface::getTheme

Same name in other branches
  1. 9 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getTheme()
  2. 8.9.x core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getTheme()
  3. 11.x core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getTheme()

Returns the theme ID.

Return value

string The theme ID for this block instance.

1 method overrides BlockInterface::getTheme()
Block::getTheme in core/modules/block/src/Entity/Block.php
Returns the theme ID.

File

core/modules/block/src/BlockInterface.php, line 42

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getTheme();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.