You are here

function rlayout_load in Layout 8

Load one layout object by its identifier.

Return value

Drupal\rlayout\RLayout Layout configuration entity instance.

1 call to rlayout_load()
RLayoutFormController::prepareEntity in lib/Drupal/rlayout/RLayoutFormController.php
Overrides Drupal\Core\Entity\EntityFormController::prepareEntity().
1 string reference to 'rlayout_load'
RLayoutFormController::form in lib/Drupal/rlayout/RLayoutFormController.php
Overrides Drupal\Core\Entity\EntityFormController::form().

File

./rlayout.module, line 114
Responsive layout builder tool for Panels.

Code

function rlayout_load($id) {
  return entity_load('rlayout', $id);
}