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

Breadcrumb

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

function InfoParser::parse

Overrides InfoParserDynamic::parse

File

core/lib/Drupal/Core/Extension/InfoParser.php, line 44

Class

InfoParser
Parses extension .info.yml files.

Namespace

Drupal\Core\Extension

Code

public function parse($filename) {
    $data = $this->fileCache
        ->get($filename);
    if ($data === NULL) {
        $data = parent::parse($filename);
        $this->fileCache
            ->set($filename, $data);
    }
    return $data;
}

API Navigation

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