public function ContentTypeGroupController::create in Content type groups 7.2
Implements EntityAPIControllerInterface.
Overrides EntityAPIController::create
File
- ./
content_type_groups.controller.inc, line 76 - Contains controllers and entity hooks for the content_type_group entity.
Class
- ContentTypeGroupController
- Content Type Group controller (equivalent to a model in MVC).
Code
public function create(array $values = array()) {
$values += array(
'type' => NULL,
'name' => '',
'content_types' => array(),
);
return parent::create($values);
}