function RulesEntityController::create

Overridden.

See also

EntityAPIController::create()

File

includes/rules.core.inc, line 23

Class

RulesEntityController
Make sure loaded rule configs are instantiated right.

Code

public function create(array $values = array()) {
    // Default to rules as owning module.
    $values += array(
        'owner' => 'rules',
    );
    return parent::create($values);
}