You are here

public function Instances::buildHeader in Smart Date 3.4.x

Same name and namespace in other branches
  1. 8.2 modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()
  2. 3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()
  3. 3.0.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()
  4. 3.1.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()
  5. 3.2.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()
  6. 3.3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::buildHeader()

Builds the header row for the listing.

Return value

array A render array structure of header strings.

1 call to Instances::buildHeader()
Instances::render in modules/smart_date_recur/src/Controller/Instances.php
Builds the render array for the listings.

File

modules/smart_date_recur/src/Controller/Instances.php, line 179

Class

Instances
Provides listings of instances (with overrides) for a specified rule.

Namespace

Drupal\smart_date_recur\Controller

Code

public function buildHeader() {
  $row['label'] = $this
    ->t('Instance');
  $row['operations'] = $this
    ->t('Operations');
  return $row;
}