class MailChimpAutomationUIController in Mailchimp 7.5
Same name and namespace in other branches
- 7.4 modules/mailchimp_automations/includes/mailchimp_automations.ui_controller.inc \MailChimpAutomationUIController
Override EntityDefaultUIController to customize our menu items.
Hierarchy
- class \EntityDefaultUIController
Expanded class hierarchy of MailChimpAutomationUIController
1 string reference to 'MailChimpAutomationUIController'
- mailchimp_automations_entity_info in modules/
mailchimp_automations/ mailchimp_automations.module - Implements hook_entity_info().
File
- modules/
mailchimp_automations/ includes/ mailchimp_automations.ui_controller.inc, line 11 - Class file for Mailchimp Automation UI Controller.
View source
class MailChimpAutomationUIController extends EntityDefaultUIController {
/**
* Overrides parent::hook_menu().
*/
public function hook_menu() {
$items = parent::hook_menu();
$items[$this->path]['description'] = 'Manage MailChimp Automation entity settings.';
$items[$this->path]['type'] = MENU_LOCAL_TASK;
$items[$this->path]['access callback'] = 'mailchimp_automations_entity_access';
$items[$this->path]['title'] = "Automations";
$items[$this->path]['weight'] = 10;
return $items;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
public | property | Defines the number of entries to show per page in overview table. | |
EntityDefaultUIController:: |
public | function | Applies an operation to the given entity. | |
EntityDefaultUIController:: |
public | function | Entity submit builder invoked via entity_ui_form_submit_build_entity(). | |
EntityDefaultUIController:: |
public | function | Provides definitions for implementing hook_forms(). | |
EntityDefaultUIController:: |
protected | function | Returns the operation count for calculating colspans. | |
EntityDefaultUIController:: |
public | function | Builds the operation form. | |
EntityDefaultUIController:: |
public | function | Operation form submit callback. | 1 |
EntityDefaultUIController:: |
public | function | Operation form validation callback. | |
EntityDefaultUIController:: |
public | function | Builds the entity overview form. | |
EntityDefaultUIController:: |
public | function | Overview form submit callback. | |
EntityDefaultUIController:: |
public | function | Overview form validation callback. | |
EntityDefaultUIController:: |
public | function | Generates the render array for a overview table for arbitrary entities matching the given conditions. | |
EntityDefaultUIController:: |
protected | function | Generates the table headers for the overview table. | |
EntityDefaultUIController:: |
protected | function | Generates the row for the passed entity and may be overridden in order to customize the rows. | |
EntityDefaultUIController:: |
public | function | ||
MailChimpAutomationUIController:: |
public | function |
Overrides parent::hook_menu(). Overrides EntityDefaultUIController:: |