public function PanelizerEntityUser::hook_form_alter in Panelizer 7.2
Same name and namespace in other branches
- 7.3 plugins/entity/PanelizerEntityUser.class.php \PanelizerEntityUser::hook_form_alter()
Implements a delegated hook_form_alter.
We want to add Panelizer settings for the bundle to the node type form.
Overrides PanelizerEntityDefault::hook_form_alter
File
- plugins/
entity/ PanelizerEntityUser.class.php, line 106 - Class for the Panelizer taxonomy term entity plugin.
Class
- PanelizerEntityUser
- Panelizer Entity user plugin class.
Code
public function hook_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'user_admin_settings') {
$this
->add_bundle_setting_form($form, $form_state, 'user', NULL);
}
}