You are here

function gridbuilder_load in Grid builder 8

Same name and namespace in other branches
  1. 7 gridbuilder.module \gridbuilder_load()

Look up one grid setup based on machine name.

Return value

Drupal\gridbuilder\Grid Grid configuration entity instance.

1 call to gridbuilder_load()
gridbuilder_get_css in ./gridbuilder.module
Return generated CSS for a given grid.
1 string reference to 'gridbuilder_load'
GridFormController::form in lib/Drupal/gridbuilder/GridFormController.php
Overrides Drupal\Core\Entity\EntityFormController::form().

File

./gridbuilder.module, line 119
Simple grid builder tool.

Code

function gridbuilder_load($id) {
  return entity_load('grid', $id);
}