Extension::$filename

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::filename
  2. 10 core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::filename
  3. 11.x core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::filename

The filename of the main extension file (e.g., 'node.module').

Type: string|null

File

core/lib/Drupal/Core/Extension/Extension.php, line 34

Class

Extension
Defines an extension (file) object.

Namespace

Drupal\Core\Extension

Code

protected $filename;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.