You are here

function panels_mini_default_panels_mini_alter in Panels 6.3

Alter default mini panels to ensure they have new fields and avoid warnings.

File

panels_mini/panels_mini.module, line 341
panels_mini.module

Code

function panels_mini_default_panels_mini_alter(&$minis) {
  foreach ($minis as $name => $mini) {
    if (!isset($mini->admin_description)) {
      $minis[$name]->admin_description = '';
    }
  }
}