code: public function getLabel($table): string
      {
          if (strpos($table, 'tl_') !== 0) {
              return $table;
          }
          $shortTable = str_replace('tl_', '', $table);
          $label      = $this->translator->trans('BRD.' . $shortTable, [], 'contao_default');
          if ($label === $shortTable) {
              $shortTable = str_replace('tl_metamodel_', '', $table);
              return ucfirst($shortTable) . ' %s';
          }
  
          return StringUtil::specialchars($label);
      }
docs: Get for a table the human readable name or a fallback.
  
  @param string $table Name of table.
  
  @return string The human readable name.