public BlockContentInterface::getTheme()
Gets the theme value.
When creating a new block content block from the block library, the user is redirected to the configure form for that block in the given theme. The theme is stored against the block when the block content add form is shown.
Return value
string The theme name.
File
- core/modules/block_content/src/BlockContentInterface.php, line 75
Class
- BlockContentInterface
- Provides an interface defining a custom block entity.
Namespace
Drupal\block_content
Code
public function getTheme();
Please login to continue.