Beispiel #1
0
 /**
  * Sets the "hidden" flag for this node.
  *
  * @param boolean $hidden If TRUE, this Node will be hidden
  * @return void
  * @api
  */
 public function setHidden($hidden)
 {
     if (!$this->isNodeDataMatchingContext()) {
         $this->materializeNodeData();
     }
     $this->nodeData->setHidden($hidden);
     $this->context->getFirstLevelNodeCache()->flush();
     $this->emitNodeUpdated($this);
 }