You are here

protected function ComponentFormBase::formTitle in Layout Paragraphs 2.0.x

Create the form title.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form title.

1 call to ComponentFormBase::formTitle()
ComponentFormBase::buildComponentForm in src/Form/ComponentFormBase.php
Builds a component (paragraph) edit form.
2 methods override ComponentFormBase::formTitle()
EditComponentForm::formTitle in src/Form/EditComponentForm.php
Create the form title.
InsertComponentForm::formTitle in src/Form/InsertComponentForm.php
Create the form title.

File

src/Form/ComponentFormBase.php, line 315

Class

ComponentFormBase
Class LayoutParagraphsComponentFormBase.

Namespace

Drupal\layout_paragraphs\Form

Code

protected function formTitle() {
  return $this
    ->t('Component form');
}