You are here

function themekey_rule_load in ThemeKey 8

Menu argument loader. Returns a ThemeKey Rule entity

Parameters

$id:

Return value

\Drupal\Core\Entity\EntityInterface|static

1 string reference to 'themekey_rule_load'
ThemeKeyRuleForm::form in src/Form/ThemeKeyRuleForm.php
Gets the actual form array to be built.

File

./themekey.module, line 24

Code

function themekey_rule_load($id) {
  return ThemeKeyRule::load($id);
}