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

Breadcrumb

  1. Drupal Core 11.1.x

ExpressionEngineInstaller.php

Namespace

Composer\Installers

File

vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php

View source
<?php

namespace Composer\Installers;

use Composer\Package\PackageInterface;
class ExpressionEngineInstaller extends BaseInstaller {
    
    /** @var array<string, string> */
    private $ee2Locations = array(
        'addon' => 'system/expressionengine/third_party/{$name}/',
        'theme' => 'themes/third_party/{$name}/',
    );
    
    /** @var array<string, string> */
    private $ee3Locations = array(
        'addon' => 'system/user/addons/{$name}/',
        'theme' => 'themes/user/{$name}/',
    );
    public function getLocations(string $frameworkType) : array {
        if ($frameworkType === 'ee2') {
            $this->locations = $this->ee2Locations;
        }
        else {
            $this->locations = $this->ee3Locations;
        }
        return $this->locations;
    }

}

Classes

Title Deprecated Summary
ExpressionEngineInstaller

API Navigation

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