You are here

public function PageVariantAddWizard::getMachineLabel in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Wizard/PageVariantAddWizard.php \Drupal\page_manager_ui\Wizard\PageVariantAddWizard::getMachineLabel()

The form element #title for your unique identifier label.

Return value

string

Overrides EntityFormWizardInterface::getMachineLabel

File

page_manager_ui/src/Wizard/PageVariantAddWizard.php, line 46
Contains \Drupal\page_manager_ui\Wizard\PageVariantAddWizard.

Class

PageVariantAddWizard

Namespace

Drupal\page_manager_ui\Wizard

Code

public function getMachineLabel() {
  return $this
    ->t('Label');
}