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

Breadcrumb

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

function Table::setColumnWidth

Sets the minimum width of a column.

Return value

$this

1 call to Table::setColumnWidth()
Table::setColumnWidths in vendor/symfony/console/Helper/Table.php
Sets the minimum width of all columns.

File

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

Class

Table
Provides helpers to display a table.

Namespace

Symfony\Component\Console\Helper

Code

public function setColumnWidth(int $columnIndex, int $width) : static {
    $this->columnWidths[$columnIndex] = $width;
    return $this;
}

API Navigation

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