We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Url::access
1 parent 6dc228e commit 7974935Copy full SHA for 7974935
stubs/Drupal/Core/Url.stub
@@ -11,5 +11,11 @@ class Url implements TrustedCallbackInterface {
11
*/
12
public function toString(bool $collect_bubbleable_metadata = FALSE) {
13
}
14
+
15
+ /**
16
+ * @return ($return_as_object ? \Drupal\Core\Access\AccessResultInterface : bool)
17
+ */
18
+ public function access(?\Drupal\Core\Session\AccountInterface $account = NULL, bool $return_as_object = FALSE): \Drupal\Core\Access\AccessResultInterface|bool {
19
+ }
20
21
0 commit comments