How to translate custom content block title?
To use the title from the custom content block entity (not the title from the block placement config):

function mymodule_preprocess_block (&amp;$variables) {
  if ($variables ['elements'] ['#base_plugin_id'] == 'block_content') {
    $variables ['label'] = $variables ['content'] ['#block_content'] -&gt;label ();
  }
}


This also respects translations and does not require access to block placement for translators.