ContentLanguageSettingsInterface::getTargetEntityTypeId

public ContentLanguageSettingsInterface::getTargetEntityTypeId() Gets the entity type ID this config applies to. Return value string File core/modules/language/src/ContentLanguageSettingsInterface.php, line 17 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function getTargetEntityTypeId();

ContentLanguageSettingsInterface::getTargetBundle

public ContentLanguageSettingsInterface::getTargetBundle() Gets the bundle this config applies to. Return value string File core/modules/language/src/ContentLanguageSettingsInterface.php, line 24 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function getTargetBundle();

ContentLanguageSettingsInterface::getDefaultLangcode

public ContentLanguageSettingsInterface::getDefaultLangcode() Gets the default language code. Return value string File core/modules/language/src/ContentLanguageSettingsInterface.php, line 51 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function getDefaultLangcode();

ContentLanguageSettingsInterface

Provides an interface defining language settings for content entities. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\language\ContentLanguageSettingsInterface File core/modules/language/src/ContentLanguageSettingsInterface.php, line 10 Namespace Drupal\language Members Name Modifiers Type Description AccessibleInterface::acces

ContentLanguageSettingsForm::__construct

public ContentLanguageSettingsForm::__construct(EntityManagerInterface $entity_manager) Constructs a ContentLanguageSettingsForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 30 Class ContentLanguageSettingsForm Configure the content language settings for this site. Namespace Drupal\language\Form Code public function __construct(EntityManagerInterface $entity_

ContentLanguageSettingsForm::submitForm

public ContentLanguageSettingsForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 145 Class ContentLanguageSettingsForm Configure the content language settings for this site. Na

ContentLanguageSettingsForm::getFormId

public ContentLanguageSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 46 Class ContentLanguageSettingsForm Configure the content language settings for this site. Namespace Drupal\language\Form Code public function getFormId() { return 'language_content_settings_form'; }

ContentLanguageSettingsForm::create

public static ContentLanguageSettingsForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container:

ContentLanguageSettingsForm::buildForm

public ContentLanguageSettingsForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 53 Class ContentLanguageSettingsForm Configure the content language set

ContentLanguageSettingsForm::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 22 Class ContentLanguageSettingsForm Configure the content language settings for this site. Namespace Drupal\language\Form Code protected $entityManager;