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

Breadcrumb

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

function Table::setColumnStyle

Sets table column style.

Parameters

TableStyle|string $name The style name or a TableStyle instance:

Return value

$this

File

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

Class

Table
Provides helpers to display a table.

Namespace

Symfony\Component\Console\Helper

Code

public function setColumnStyle(int $columnIndex, TableStyle|string $name) : static {
    $this->columnStyles[$columnIndex] = $this->resolveStyle($name);
    return $this;
}

API Navigation

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