You are here

function gridbuilder_uri in Grid builder 8

Entity URI callback.

Parameters

Drupal\gridbuilder\Grid $grid: Grid configuration entity instance.

Return value

array Entity URI information.

1 string reference to 'gridbuilder_uri'
gridbuilder_entity_info in ./gridbuilder.module
Implements hook_entity_info().

File

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

Code

function gridbuilder_uri(Grid $grid) {
  return array(
    'path' => 'admin/structure/grids/grid/' . $grid
      ->id(),
  );
}