You are here

public function EntityMetadataArrayObject::count in Entity API 7

File

includes/entity.wrapper.inc, line 1276
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityMetadataArrayObject
An array object implementation keeping the reference on the given array so changes to the object are reflected in the passed array.

Code

public function count() {
  return count($this->data);
}