Neos\ContentRepository\Domain\Model\NodeInterface::isHiddenInIndex PHP Method

isHiddenInIndex() public method

If this node should be hidden in indexes
public isHiddenInIndex ( ) : boolean
return boolean
    public function isHiddenInIndex();

Usage Example

Esempio n. 1
0
 /**
  * Return TRUE/FALSE if the node is currently hidden or not in the menu; taking the "renderHiddenInIndex" configuration
  * of the Menu TypoScript object into account.
  *
  * This method needs to be called inside buildItems() in the subclasses.
  *
  * @param NodeInterface $node
  * @return boolean
  */
 protected function isNodeHidden(NodeInterface $node)
 {
     return $node->isVisible() === false || $this->getRenderHiddenInIndex() === false && $node->isHiddenInIndex() === true || $node->isAccessible() === false;
 }
All Usage Examples Of Neos\ContentRepository\Domain\Model\NodeInterface::isHiddenInIndex