You are here

function _skinr_panels_display_from_uuid in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr_panels/skinr_panels.skinr.inc \_skinr_panels_display_from_uuid()

Helper function to retrieve a pane's display ID.

Parameters

$uuid:

Return value

The pane's display ID.

1 call to _skinr_panels_display_from_uuid()
skinr_panels_skinr_ui_element_title in skinr_panels/skinr_panels.skinr.inc
Implements hook_skinr_ui_element_title().

File

skinr_panels/skinr_panels.skinr.inc, line 188
Implements Skinr hooks for panels.module.

Code

function _skinr_panels_display_from_uuid($uuid) {
  return db_query("SELECT did FROM {panels_pane} WHERE uuid = :uuid", array(
    ':uuid' => $uuid,
  ))
    ->fetchField();
}