Issue #2447819 by pameeela: 'Custom Block' labels should use sentence case, not title case
parent
9b5042c152
commit
ba3813c07d
|
@ -18,8 +18,8 @@ use Drupal\block_content\BlockContentInterface;
|
|||
*
|
||||
* @ContentEntityType(
|
||||
* id = "block_content",
|
||||
* label = @Translation("Custom Block"),
|
||||
* bundle_label = @Translation("Custom Block type"),
|
||||
* label = @Translation("Custom block"),
|
||||
* bundle_label = @Translation("Custom block type"),
|
||||
* handlers = {
|
||||
* "storage" = "Drupal\Core\Entity\Sql\SqlContentEntityStorage",
|
||||
* "storage_schema" = "Drupal\block_content\BlockContentStorageSchema",
|
||||
|
|
|
@ -107,7 +107,7 @@ class BlockContentListTest extends BlockContentTestBase {
|
|||
$this->assertNoFieldByXpath('//td', $new_label, 'No label found for deleted custom block.');
|
||||
|
||||
// Confirm that the empty text is displayed.
|
||||
$this->assertText(t('There is no Custom Block yet.'));
|
||||
$this->assertText(t('There is no Custom block yet.'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue