tome-8.x-1.x-dev/modules/tome_static/src/ResettablePathMatcher.php

modules/tome_static/src/ResettablePathMatcher.php
<?php

namespace Drupal\tome_static;

use Drupal\Core\Path\PathMatcher;

/**
 * Decorates the path matcher to allow for resetting of static cache.
 *
 * @internal
 */
class ResettablePathMatcher extends PathMatcher {

  /**
   * Resets the static.
   */
  public function resetCache() {
    $this->isCurrentFrontPage = NULL;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc