+++ b/modules/entity/entity.class.incundefined
@@ -0,0 +1,127 @@
+ /**
+ * Permanently saves the entity.
See above
+++ b/modules/entity/entity.class.incundefined
@@ -0,0 +1,127 @@
+ /**
+ * Permanently deletes the entity.
Not sure but to be future proof (aka stop stupid minor string patching) can't we change this to "Deletes the entity permanently"
+++ b/modules/entity/entity.class.incundefined
@@ -0,0 +1,127 @@
+ /**
+ * Generate an array for rendering the entity.
Generates
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Delete permanently saved entities.
Deletes
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Invokes a hook on behalf of the entity. For hooks that have a respective
+ * field API attacher like insert/update/.. the attacher is called too.
Add a newline between the first and the second sentence.
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Permanently saves the given entity.
See above
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Create a new entity.
Creates
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ * @param array $values
+ * An array of values to set, keyed by property name.
+ * @return
Add a newline between @param and @return
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ * (optional) A language code to use for rendering. Defaults to the global
+ * content language of the current request.
+ * @return
newline
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ * (optional) A language code to use for rendering. Defaults to the global
+ * content language of the current request.
+ * @return
newline
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Overridden.
+ * @see DrupalDefaultEntityController#__construct()
+ */
This docblock needs te be rewritten. "Creates ..." or something like that.
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ *
+ * @return The results in a Traversable object.
Sentence needs to be on a new line.
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Overridden.
+ * @see DrupalDefaultEntityController#load($ids, $conditions)
See above.
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+
+ public function resetCache(array $ids = NULL) {
needs docblock
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+ /**
+ * Implements EntityAPIControllerInterface.
You use the same sentence for 3 (or more) different functions. Can it be more specific?
+++ b/modules/entity/entity.controller.incundefined
@@ -387,3 +387,436 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
+}
\ No newline at end of file
Newline needed at end of a file
+++ b/modules/entity/entity.infoundefined
@@ -4,5 +4,9 @@ package = Core
+files[] = tests/entity.test
\ No newline at end of file
See above
+++ b/modules/entity/entity.moduleundefined
@@ -247,6 +248,145 @@ function entity_load_unchanged($entity_type, $id) {
/**
+ * Permanently save an entity.
Again sentence should start with 3th person verb. (same for every function in this file)
+++ b/modules/entity/entity.moduleundefined
@@ -247,6 +248,145 @@ function entity_load_unchanged($entity_type, $id) {
+ * The entity to save.
+ * @return
+ * Either SAVED_NEW or SAVED_UPDATED is returned, depending on the operation
Newline needed (recheck this file for this to)
+++ b/modules/entity/entity.moduleundefined
@@ -247,6 +248,145 @@ function entity_load_unchanged($entity_type, $id) {
+/**
+ * Create a new entity object.
Creates
+++ b/modules/entity/entity.moduleundefined
@@ -247,6 +248,145 @@ function entity_load_unchanged($entity_type, $id) {
+/**
+ * Generate an array for rendering the given entities.
generates
+++ b/modules/entity/entity.moduleundefined
@@ -437,3 +577,120 @@ function entity_form_submit_build_entity($entity_type, $entity, $form, &$form_st
+/**
+ * Export a variable in pretty formatted JSON.
Exports
+++ b/modules/entity/entity.moduleundefined
@@ -437,3 +577,120 @@ function entity_form_submit_build_entity($entity_type, $entity, $form, &$form_st
+/**
+ * Process variables for entity.tpl.php.
Processes
+++ b/modules/entity/tests/entity_test.infoundefined
@@ -0,0 +1,7 @@
+hidden = TRUE
\ No newline at end of file
Newline :)
+++ b/modules/entity/tests/entity_test.installundefined
@@ -0,0 +1,71 @@
+/**
+ * Implement hook_install().
ImplementS (same for the rest of this file)
+++ b/modules/entity/tests/entity_test.moduleundefined
@@ -0,0 +1,67 @@
+/**
+ * Implement hook_entity_info().
ImplementS
+++ b/modules/entity/tests/entity_test.moduleundefined
@@ -0,0 +1,67 @@
+/**
+ * Load multiple test entities based on certain conditions.
Loads
+++ b/modules/entity/tests/entity_test.moduleundefined
@@ -0,0 +1,67 @@
+ * @param $reset
+ * A boolean indicating that the internal cache should be reset.
+ * @return
+ * An array of test entity objects, indexed by pid.
+ */
newline
+++ b/modules/entity/tests/entity_test.moduleundefined
@@ -0,0 +1,67 @@
+/**
+ * Delete multiple test entities.
Deletes
+++ b/modules/entity/tests/entity_test.moduleundefined
@@ -0,0 +1,67 @@
+ /**
+ * Override buildContent() to add the username to the output.
Overrides
Powered by Dreditor.