function panelizer_node_revision_load in Panelizer 7.3
Menu callback load method to either return the requested revision ID or FALSE to prevent the tab from being processed.
Parameters
string $vid: An entity's revision ID.
Return value
mixed Either the revision_id or FALSE if the revision was empty.
File
- ./
panelizer.module, line 2088 - The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.
Code
function panelizer_node_revision_load($revision_id = NULL) {
if (!empty($revision_id)) {
return $revision_id;
}
return FALSE;
}