You are here

public function DynamicLayout::getColumnName in Dynamic Layouts 8

Get the layout column name.

Parameters

int $row_id: The row number we need to get the column name from.

int $column_id: The column id we need to get.

Overrides DynamicLayoutInterface::getColumnName

File

src/Entity/DynamicLayout.php, line 319

Class

DynamicLayout
Defines the DynamicLayout entity.

Namespace

Drupal\dynamic_layouts\Entity

Code

public function getColumnName($row_id, $column_id) {
  $row = $this
    ->getRowById($row_id);
  $column = $this
    ->getColumnById($row, $column_id);
  return $column[Constants::COLUMN_NAME];
}