Commit d2cbadc1 authored by alexpott's avatar alexpott

Issue #2337825 by YesCT, martin107, mon_franco: Update comment references to...

Issue #2337825 by YesCT, martin107, mon_franco: Update comment references to the interface for ConfigurableLanguage class due to the ConfigurableLanguageInterface (followup).
parent f3cf8b07
......@@ -49,7 +49,7 @@ public static function create(ContainerInterface $container) {
* Common elements of the language addition and editing form.
*/
public function commonForm(array &$form) {
/** @var $language \Drupal\language\Entity\ConfigurableLanguage */
/* @var $language \Drupal\language\ConfigurableLanguageInterface */
$language = $this->entity;
if ($language->id()) {
$form['langcode_view'] = array(
......
......@@ -96,7 +96,7 @@ public function testDefaultLangcode() {
$this->assertFalse($configurable_language->isDefault(), 'The en language entity is not flagged as the default language.');
$configurable_language = entity_load('configurable_language', 'cc');
// Check calling the
// \Drupal\language\Entity\ConfigurableLanguage::isDefault() method
// \Drupal\language\ConfigurableLanguageInterface::isDefault() method
// directly.
$this->assertTrue($configurable_language->isDefault(), 'The cc language entity is flagged as the default language.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment