Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockInterface.php

function 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();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal