Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Profile.php

function Profile::isRoot

1 call to Profile::isRoot()
Profile::getDuration in vendor/twig/twig/src/Profiler/Profile.php
Returns the duration in microseconds.

File

vendor/twig/twig/src/Profiler/Profile.php, line 51

Class

Profile
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig\Profiler

Code

public function isRoot() : bool {
    return self::ROOT === $this->type;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal