Loading core/lib/Drupal/Core/Render/Element/RenderElementBase.php +4 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,10 @@ * * Here is the list of the properties used during the rendering of all render * elements: * - #access: (bool) Whether the element is accessible or not. When FALSE, * - #access: (bool or AccessResultInterface) * Whether the element is accessible or not. * When the value is FALSE (if boolean) * or the isAllowed() method returns FALSE (if AccessResultInterface), * the element is not rendered and user-submitted values are not taken * into consideration. * - #access_callback: A callable or function name to call to check access. Loading Loading
core/lib/Drupal/Core/Render/Element/RenderElementBase.php +4 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,10 @@ * * Here is the list of the properties used during the rendering of all render * elements: * - #access: (bool) Whether the element is accessible or not. When FALSE, * - #access: (bool or AccessResultInterface) * Whether the element is accessible or not. * When the value is FALSE (if boolean) * or the isAllowed() method returns FALSE (if AccessResultInterface), * the element is not rendered and user-submitted values are not taken * into consideration. * - #access_callback: A callable or function name to call to check access. Loading