Accessing disabled matrix blocks in a plugin I've got a plugin which needs to be able to access all the blocks in a matrix - regardless of if the blocks are enabled or disabled.

The entry objects returned by the likes of craft()-&gt;entries-&gt;getEntryById only seem to include blocks in the matrix fields which are enabled.

Is there a way to access this information through a service - or do I need to work out how this is handled in the control panel (which does show disabled matrix blocks)?
Something like this should do it:

$criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::MatrixBlock);
$criteria-&gt;status = null;
$find = $criteria-&gt;find();


Setting status to null will return all elements regardless of their status.