home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (panels_mini.inc)

This example Drupal source code file (panels_mini.inc) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

access, array, content, create, form, menu, mini, mini-panels, panels, php, plural, proper, singular, title

The panels_mini.inc Drupal example source code


$plugin = array(
  'schema' => 'panels_mini',
  'access' => 'administer mini panels',
  'create access' => 'create mini panels',

  'menu' => array(
    'menu item' => 'mini-panels',
    'menu title' => 'Mini panels',
    'menu description' => 'Add, edit or delete mini panels, which can be used as blocks or content panes in other panels.',

  'title singular' => t('mini panel'),
  'title singular proper' => t('Mini panel'),
  'title plural' => t('mini panels'),
  'title plural proper' => t('Mini panels'),

  'handler' => array(
    'class' => 'panels_mini_ui',
    'parent' => 'ctools_export_ui',

  'use wizard' => TRUE,
  'form info' => array(
    'order' => array(
      'basic' => t('Settings'),
      'context' => t('Context'),
      'layout' => t('Layout'),
      'content' => t('Content'),
    // We have to add this form specially because it's invisible.
    'forms' => array(
      'move' => array(
        'form id' => 'ctools_export_ui_edit_item_wizard_form',


Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal panels_mini.inc source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.