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

Breadcrumb

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

function ScaffoldOptions::hasFileMapping

Determines if there are file mappings.

Return value

bool Whether or not the scaffold options contain any file mappings

File

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

Class

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

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function hasFileMapping() {
    return !empty($this->fileMapping());
}

API Navigation

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