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

Breadcrumb

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

function LintCommand::getAvailableFormatOptions

Return value

string[]

1 call to LintCommand::getAvailableFormatOptions()
LintCommand::complete in vendor/symfony/yaml/Command/LintCommand.php
Supplies suggestions when resolving possible completion options for input (e.g. option or argument).

File

vendor/symfony/yaml/Command/LintCommand.php, line 273

Class

LintCommand
Validates YAML files syntax and outputs encountered errors.

Namespace

Symfony\Component\Yaml\Command

Code

private function getAvailableFormatOptions() : array {
    return [
        'txt',
        'json',
        'github',
    ];
}

API Navigation

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