You are here

public function FlexiformUIController::hook_forms in Flexiform 7

Provides definitions for implementing hook_forms().

Use per bundle form ids if possible, such that easy per bundle alterations are supported too.

Note that for performance reasons, this method is invoked only for forms which receive the entity_type as first argument. Thus any forms added must follow that pattern.

Overrides EntityDefaultUIController::hook_forms

See also

entity_forms()

File

./flexiform.admin.inc, line 178
Model type editing UI.

Class

FlexiformUIController
UI controller.

Code

public function hook_forms() {
  $forms = parent::hook_forms();
  $forms['flexiform_overview_form']['callback'] = 'flexiform_overview_form';
  return $forms;
}