Contentment::Node::Manager is a node collection manager and utility.
This class defines the object responsible for determining what node collection is in use by the current request.
As of this writing, the implementation is simplistic and always defines the node collection created during install as the current one.
This class supports the following methods
$collection = $manager->get_current_collection
Fetch the node collection in use for thise request. In general, you probably don't want to mess with this object too much directly. The internals are kind of icky, which is why the Contentment::Node::Manager class exists after all.
This method attaches the given revision to the node collection. Any other revisions from the same node will be removed from the node collection.
Removes this revision from the node collection. This will make the revision (and entire node) appear to be deleted (as far as most of Contentment is concerned) without actually removing the record from the database.
This class defines the following methods:
$manager = $context->nodes
This method returns the object by which the Contentment::Node::Manager API may be reached.