You are here

public function RouteWrapper::isAbsoluteAccess in Drupal 7 to 8/9 Module Upgrader 8

Returns if this route has an absolute access flag (TRUE or FALSE).

Return value

bool

File

src/Routing/Drupal7/RouteWrapper.php, line 138

Class

RouteWrapper
Encapsulates a Drupal 7 route (including the link, if any).

Namespace

Drupal\drupalmoduleupgrader\Routing\Drupal7

Code

public function isAbsoluteAccess() {
  return is_bool($this
    ->get('access callback'));
}