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

Breadcrumb

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

function MauticInstaller::getDirectoryName

1 call to MauticInstaller::getDirectoryName()
MauticInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
Format package name of mautic-plugins to CamelCase

File

vendor/composer/installers/src/Composer/Installers/MauticInstaller.php, line 16

Class

MauticInstaller

Namespace

Composer\Installers

Code

private function getDirectoryName() : string {
    $extra = $this->package
        ->getExtra();
    if (!empty($extra['install-directory-name'])) {
        return $extra['install-directory-name'];
    }
    return $this->toCamelCase($this->package
        ->getPrettyName());
}

API Navigation

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