Skip to content

Instantly share code, notes, and snippets.

@darwin26
Last active November 25, 2016 11:40
Show Gist options
  • Select an option

  • Save darwin26/bf758f055329768d5d4fbe8e229786ce to your computer and use it in GitHub Desktop.

Select an option

Save darwin26/bf758f055329768d5d4fbe8e229786ce to your computer and use it in GitHub Desktop.
Modul - AddOn: bloecks - Status im Modul setzen
<?php
if (rex::isBackend()) {
$slice_status = bloecks_status_backend::setSliceStatus("REX_SLICE_ID", 0); // status: true/false
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment