TitleResolver::$controllerResolver

The controller resolver. Type: \Drupal\Core\Controller\ControllerResolverInterface File core/lib/Drupal/Core/Controller/TitleResolver.php, line 21 Class TitleResolver Provides the default implementation of the title resolver interface. Namespace Drupal\Core\Controller Code protected $controllerResolver;

TitleResolver

Provides the default implementation of the title resolver interface. Hierarchy class \Drupal\Core\Controller\TitleResolver implements TitleResolverInterface uses StringTranslationTrait File core/lib/Drupal/Core/Controller/TitleResolver.php, line 13 Namespace Drupal\Core\Controller Members Name Modifiers Type Description StringTranslationTrait::$stringTranslation protected property The string translation service. StringTranslationTrait::formatPlural protected functi

Tip::$title

The title of the plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/tour/src/Annotation/Tip.php, line 37 Class Tip Defines a tour item annotation object. Namespace Drupal\tour\Annotation Code public $title;

Tip::$id

The plugin ID. Type: string File core/modules/tour/src/Annotation/Tip.php, line 28 Class Tip Defines a tour item annotation object. Namespace Drupal\tour\Annotation Code public $id;

Tip

Defines a tour item annotation object. Plugin Namespace: Plugin\tour\tip For a working example, see \Drupal\tour\Plugin\tour\tip\TipPluginText Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\tour\Annotation\Tip See also \Drupal\tour\TipPluginBase \Drupal\tour\TipPluginInterface \Drupal\tour\TipPluginManager Plugin API Related topics Annotations Annotations for class discovery and metadata description. File core/modules/tour/src/Annotation/T

Timer::stop

static public Timer::stop($name) Stops the timer with the specified name. Parameters string $name: The name of the timer. Return value array A timer array. The array contains the number of times the timer has been started and stopped (count) and the accumulated timer value in ms (time). File core/lib/Drupal/Component/Utility/Timer.php, line 60 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static public function stop($name) {

Timer::start

static public Timer::start($name) Starts the timer with the specified name. If you start and stop the same timer multiple times, the measured intervals will be accumulated. Parameters $name: The name of the timer. File core/lib/Drupal/Component/Utility/Timer.php, line 23 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static public function start($name) { static::$timers[$name]['start'] = microtime(TRUE); static::$timers[$na

Timer::read

static public Timer::read($name) Reads the current timer value without stopping the timer. Parameters string $name: The name of the timer. Return value int The current timer value in ms. File core/lib/Drupal/Component/Utility/Timer.php, line 37 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static public function read($name) { if (isset(static::$timers[$name]['start'])) { $stop = microtime(TRUE); $diff = round(($stop

Timer::$timers

File core/lib/Drupal/Component/Utility/Timer.php, line 12 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static protected $timers = array();

Timer

Provides helpers to use timers throughout a request. Hierarchy class \Drupal\Component\Utility\Timer Related topics Utility classes and functions Overview of utility classes and functions for developers. File core/lib/Drupal/Component/Utility/Timer.php, line 10 Namespace Drupal\Component\Utility Members Name Modifiers Type Description Timer::$timers static protected property Timer::read static public function Reads the current timer value without stopping the t