$output.='<p>'.t('The Entity module provides an API for managing entities like nodes and users, i.e. an API for loading and identifying entities. For more information, see the online handbook entry for <a href="!url">Entity module</a>',array('!url'=>'http://drupal.org/documentation/modules/entity')).'</p>';
return$output;
}
}
/**
* Implements hook_modules_preenable().
*/
functionentity_modules_preenable(){
entity_info_cache_clear();
}
/**
* Implements hook_modules_disabled().
*/
functionentity_modules_disabled(){
entity_info_cache_clear();
}
useDrupal\Core\Entity\EntityFieldQuery;
useDrupal\Core\Entity\EntityMalformedException;
useDrupal\Core\Entity\EntityStorageException;
useDrupal\Core\Entity\EntityInterface;
/**
* Gets the entity info array of an entity type.
...
...
@@ -72,10 +45,10 @@ function entity_get_info($entity_type = NULL) {