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

Breadcrumb

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

function ScaffoldOptions::locations

Gets the location mapping table, e.g. 'webroot' => './'.

Return value

array A map of name : location values

1 call to ScaffoldOptions::locations()
ScaffoldOptions::hasLocation in composer/Plugin/Scaffold/ScaffoldOptions.php
Determines whether a given named location is defined.

File

composer/Plugin/Scaffold/ScaffoldOptions.php, line 123

Class

ScaffoldOptions
Per-project options from the 'extras' section of the composer.json file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function locations() {
    return $this->options['locations'];
}
RSS feed
Powered by Drupal