1 entity.class.inc | public EntityInterface::__construct(array $values) |
Constructs a new entity object.
Parameters
$values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.
File
- core/
modules/ entity/ entity.class.inc, line 19 - Provides an interface and a base class for entities.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Code
public function __construct(array $values);