function BlockContentController::getAddFormTitle
Provides the page title for this controller.
Parameters
\Drupal\block_content\BlockContentTypeInterface $block_content_type: The block type being added.
Return value
string The page title.
1 string reference to 'BlockContentController::getAddFormTitle'
- block_content.routing.yml in core/
modules/ block_content/ block_content.routing.yml  - core/modules/block_content/block_content.routing.yml
 
File
- 
              core/
modules/ block_content/ src/ Controller/ BlockContentController.php, line 139  
Class
Namespace
Drupal\block_content\ControllerCode
public function getAddFormTitle(BlockContentTypeInterface $block_content_type) {
  return $this->t('Add %type content block', [
    '%type' => $block_content_type->label(),
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.