17259b1b_YPO3_Core_APIs_7_documentation__Name
[Description] Condition that is parsed and interpreted to decide whether the action item should be shown or not for a given tree node. The syntax is similar to PHP conditions, with the usual comparison operators and the logical operators && and || to chain conditions. The values that can be used for comparison are the return values provided by the methods in the API of class \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode. If that return value is an array, any index can be accessed using the | operator: displayCondition = getRecord|hidden = 1 && canBeDisabledAndEnabled != 0 In the above example the condition calls the getRecord() method which returns the complete record array of the page the node corresponds to. The index "hidden" of this array is checked to see if it's true. Afterwards it is chained with an && ("AND") operator to the next condition, which checks whether a node can be disabled and enabled, returning boolean value. If both conditions evaluate to true, the context action is displayed. For more examples look up the default configuration found in t3lib/stddb/DefaultConfiguration.php. [Name] 
displayCondition
n a m e
l a b e l
i c o n
s p r i t e I c o n
d i s p l a y C o n d i t i o n
c a l l b a c k A c t i o n
c u s t o m A t t r i b u t e s
TYPO3 Core APIs 7 documentation