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

Breadcrumb

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

function RoundcubeInstaller::inflectPackageVars

Lowercase name and changes the name to a underscores

Overrides BaseInstaller::inflectPackageVars

File

vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php, line 15

Class

RoundcubeInstaller

Namespace

Composer\Installers

Code

public function inflectPackageVars(array $vars) : array {
    $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
    return $vars;
}

API Navigation

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