public BlockContentController::getAddFormTitle(BlockContentTypeInterface $block_content_type)
Provides the page title for this controller.
Parameters
\Drupal\block_content\BlockContentTypeInterface $block_content_type: The custom block type being added.
Return value
string The page title.
File
- core/modules/block_content/src/Controller/BlockContentController.php, line 125
Class
Namespace
Drupal\block_content\Controller
Code
public function getAddFormTitle(BlockContentTypeInterface $block_content_type) { return $this->t('Add %type custom block', array('%type' => $block_content_type->label())); }
Please login to continue.