private function getBlocksTitle()
{
$title = array_shift($this->preferredTitles);
// Prevent 'Fatal error: Uncaught Error: Cannot pass parameter 3 by reference in …'
$pager = [];
// If we're out of preferredTitles or if the record already exists.
if ($title === null || $this->getContent('blocks', '', $pager, ['title' => $title])) {
$title = trim(strip_tags($this->app['prefill']->get('/1/veryshort')));
}
return $title;
}