You are here

function flexiform_theme in Flexiform 7

Implement hook_theme().

File

./flexiform.module, line 325
Module for the Flexiform system.

Code

function flexiform_theme() {
  return array(
    'flexiform' => array(
      'render element' => 'element',
      'template' => 'flexiform',
    ),
    'flexiform_field_table' => array(
      'render element' => 'elements',
    ),
    'flexiform_entity_table' => array(
      'render element' => 'elements',
    ),
    'flexiform_ui_overview_item' => array(
      'variables' => array(
        'label' => NULL,
        'entity_type' => NULL,
        'url' => FALSE,
        'name' => FALSE,
        'tags' => FALSE,
      ),
      'file' => 'flexiform.admin.inc',
    ),
  );
}