diff --git a/src/Authorizer.php b/src/Authorizer.php index 91ab62f..225f556 100644 --- a/src/Authorizer.php +++ b/src/Authorizer.php @@ -32,7 +32,7 @@ class Authorizer { * @return bool * TRUE if the action is allowed, FALSE if not. */ - public function allow(NodeInterface $node, $action) { + public function isAllowed(NodeInterface $node, $action) { // Default to TRUE. $result = TRUE; // Check that other modules allow the action.