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

Breadcrumb

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

function Factory::createAdditionalStyles

Return value

array{highlight: OutputFormatterStyle, warning: OutputFormatterStyle}

1 call to Factory::createAdditionalStyles()
Factory::createOutput in vendor/composer/composer/src/Composer/Factory.php

File

vendor/composer/composer/src/Composer/Factory.php, line 251

Class

Factory
Creates a configured instance of composer.

Namespace

Composer

Code

public static function createAdditionalStyles() : array {
    return [
        'highlight' => new OutputFormatterStyle('red'),
        'warning' => new OutputFormatterStyle('black', 'yellow'),
    ];
}

API Navigation

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