public function EntitySubqueueEntityController::create in Entityqueue 7
Creates a default subqueue.
Parameters
array $values: An array of values to set, keyed by property name.
Return value
An EntitySubqueue object with all default fields initialized.
Overrides EntityAPIController::create
File
- includes/
entityqueue.controller.inc, line 22 - The controller for the EntityQueue entity containing CRUD operations.
Class
- EntitySubqueueEntityController
- The controller class for subqueues.
Code
public function create(array $values = array()) {
$values += array(
'queue' => NULL,
'name' => NULL,
'label' => '',
'language' => language_default()->language,
'module' => '',
'uid' => '',
'data' => array(),
);
return parent::create($values);
}