Loading core/lib/Drupal/Core/Access/AccessManagerInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ interface AccessManagerInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -46,7 +46,7 @@ public function checkNamedRoute($route_name, array $parameters = [], ?AccountInt * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -71,7 +71,7 @@ public function checkRequest(Request $request, ?AccountInterface $account = NULL * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading core/lib/Drupal/Core/Access/AccessibleInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ interface AccessibleInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading core/lib/Drupal/Core/Action/ActionInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ public function executeMultiple(array $objects); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading core/lib/Drupal/Core/Block/BlockPluginInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ public function label(); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ interface EntityAccessControlHandlerInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -53,7 +53,7 @@ public function access(EntityInterface $entity, $operation, ?AccountInterface $a * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading Loading @@ -101,7 +101,7 @@ public function setModuleHandler(ModuleHandlerInterface $module_handler); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading Loading
core/lib/Drupal/Core/Access/AccessManagerInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ interface AccessManagerInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -46,7 +46,7 @@ public function checkNamedRoute($route_name, array $parameters = [], ?AccountInt * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -71,7 +71,7 @@ public function checkRequest(Request $request, ?AccountInterface $account = NULL * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading
core/lib/Drupal/Core/Access/AccessibleInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ interface AccessibleInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading
core/lib/Drupal/Core/Action/ActionInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ public function executeMultiple(array $objects); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading
core/lib/Drupal/Core/Block/BlockPluginInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ public function label(); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading
core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ interface EntityAccessControlHandlerInterface { * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading @@ -53,7 +53,7 @@ public function access(EntityInterface $entity, $operation, ?AccountInterface $a * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading Loading @@ -101,7 +101,7 @@ public function setModuleHandler(ModuleHandlerInterface $module_handler); * @param bool $return_as_object * (optional) Defaults to FALSE. * * @return bool|\Drupal\Core\Access\AccessResultInterface * @return ($return_as_object is true ? \Drupal\Core\Access\AccessResultInterface : bool) * The access result. Returns a boolean if $return_as_object is FALSE (this * is the default) and otherwise an AccessResultInterface object. * When a boolean is returned, the result of AccessInterface::isAllowed() is Loading