You are here

function panels_mini_admin_load in Panels 6.2

Menu callback to check to see if a mini panel is valid as part of a path, and if it is, return the mini.

File

panels_mini/panels_mini.module, line 450
panels_mini.module

Code

function panels_mini_admin_load($name) {
  $mini = panels_mini_load($name);
  if ($mini && empty($mini->disabled)) {
    return $mini;
  }
}