diff --git a/core/lib/Drupal/Core/Extension/Extension.php b/core/lib/Drupal/Core/Extension/Extension.php index b97d43e..d7a51c5 100644 --- a/core/lib/Drupal/Core/Extension/Extension.php +++ b/core/lib/Drupal/Core/Extension/Extension.php @@ -146,8 +146,8 @@ public function getFilename() { * @return string|null */ public function getExtensionPathname() { - if ($this->filename) { - return $this->getPath() . '/' . $this->filename; + if ($this->_filename) { + return $this->getPath() . '/' . $this->_filename; } } @@ -157,7 +157,7 @@ public function getExtensionPathname() { * @return string|null */ public function getExtensionFilename() { - return $this->filename; + return $this->_filename; } /** @@ -167,8 +167,8 @@ public function getExtensionFilename() { * TRUE if this extension has a main extension file, FALSE otherwise. */ public function load() { - if ($this->filename) { - include_once DRUPAL_ROOT . '/' . $this->getPath() . '/' . $this->filename; + if ($this->_filename) { + include_once DRUPAL_ROOT . '/' . $this->getPath() . '/' . $this->_filename; return TRUE; } return FALSE;