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

Breadcrumb

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

function Table::setStyleDefinition

Sets a style definition.

File

vendor/symfony/console/Helper/Table.php, line 68

Class

Table
Provides helpers to display a table.

Namespace

Symfony\Component\Console\Helper

Code

public static function setStyleDefinition(string $name, TableStyle $style) : void {
    self::$styles ??= self::initStyles();
    self::$styles[$name] = $style;
}

API Navigation

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