You are here

public function ConfigPagesInterface::getTheme in Config Pages 8

Same name and namespace in other branches
  1. 8.3 src/ConfigPagesInterface.php \Drupal\config_pages\ConfigPagesInterface::getTheme()
  2. 8.2 src/ConfigPagesInterface.php \Drupal\config_pages\ConfigPagesInterface::getTheme()

Gets the theme value.

When creating a new config page content config page from the config page library, the user is redirected to the configure form for that config page in the given theme. The theme is stored against the config page when the config page content add form is shown.

Return value

string The theme name.

1 method overrides ConfigPagesInterface::getTheme()
ConfigPages::getTheme in src/Entity/ConfigPages.php
Gets the theme value.

File

src/ConfigPagesInterface.php, line 49

Class

ConfigPagesInterface
Provides an interface defining a custom config page entity.

Namespace

Drupal\config_pages

Code

public function getTheme();