Skip to content
Snippets Groups Projects

Add void typehint to disableBundleTranslation.

Closed godotislate requested to merge issue/drupal-3310170:3310170-trait-method-typehint into 11.x
2 files
+ 1
139
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -62,7 +62,7 @@ public static function enableBundleTranslation(string $entity_type_id, string $b
@@ -62,7 +62,7 @@ public static function enableBundleTranslation(string $entity_type_id, string $b
* @param string $bundle
* @param string $bundle
* The bundle name.
* The bundle name.
*/
*/
public static function disableBundleTranslation(string $entity_type_id, string $bundle) {
public static function disableBundleTranslation(string $entity_type_id, string $bundle): void {
// @todo Move to API call when it exists, to be added at
// @todo Move to API call when it exists, to be added at
// https://www.drupal.org/project/drupal/issues/3408046
// https://www.drupal.org/project/drupal/issues/3408046
$content_language_settings = ContentLanguageSettings::loadByEntityTypeBundle($entity_type_id, $bundle);
$content_language_settings = ContentLanguageSettings::loadByEntityTypeBundle($entity_type_id, $bundle);
Loading