class CommerceFileLicenseEntityUIController in Commerce File 7
Default controller for providing UI.
Hierarchy
Expanded class hierarchy of CommerceFileLicenseEntityUIController
1 string reference to 'CommerceFileLicenseEntityUIController'
- commerce_file_entity_info in ./
commerce_file.module - Implements hook_entity_info().
File
- includes/
commerce_file_license.ui.inc, line 11 - Provides a controller for building an entity overview form.
View source
class CommerceFileLicenseEntityUIController extends EntityDefaultUIController {
/**
* Overrides hook_menu() defaults.
*/
public function hook_menu() {
$items = parent::hook_menu();
// unset base path to allow views to control it
unset($items[$this->path]);
// alter add path
unset($items[$this->path . '/add']['title callback'], $items[$this->path . '/add']['title arguments']);
$items[$this->path . '/add'] = array(
'title' => 'Add a file license',
'description' => 'Add a new file license.',
) + $items[$this->path . '/add'];
return $items;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommerceFileLicenseEntityUIController:: |
public | function |
Overrides hook_menu() defaults. Overrides EntityDefaultUIController:: |
|
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 |