LanguageManagerInterface::isMultilingual

public LanguageManagerInterface::isMultilingual() Returns whether or not the site has more than one language added. Return value bool TRUE if more than one language is added, FALSE otherwise. File core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 18 Class LanguageManagerInterface Common interface for the language manager service. Namespace Drupal\Core\Language Code public function isMultilingual();

MenuLinkManagerInterface::resetDefinitions

public MenuLinkManagerInterface::resetDefinitions() Resets any local definition cache. Used for testing. File core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php, line 193 Class MenuLinkManagerInterface Defines an interface for managing menu links and storing their definitions. Namespace Drupal\Core\Menu Code public function resetDefinitions();

ViewUI::bundle

public ViewUI::bundle() Gets the bundle of the entity. Return value string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles. Overrides EntityInterface::bundle File core/modules/views_ui/src/ViewUI.php, line 936 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function bundle() { return $this->storage->bundle(); }

TermInterface::setFormat

public TermInterface::setFormat($format) Sets the text format name for the term's description. Parameters string $format: The term's description text format. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 47 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setFormat($format);

Tour::__construct

public Tour::__construct(array $values, $entity_type) Constructs an Entity object. Parameters array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. string $entity_type: The type of the entity to create. Overrides ConfigEntityBase::__construct File core/modules/tour/src/Entity/Tour.php, line 88 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code public function __construct(array

ConfigTranslationDeleteForm::$configMapperManager

The configuration mapper manager. Type: \Drupal\config_translation\ConfigMapperManagerInterface File core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 33 Class ConfigTranslationDeleteForm Builds a form to delete configuration translation. Namespace Drupal\config_translation\Form Code protected $configMapperManager;

ViewUI::delete

public ViewUI::delete() Deletes an entity permanently. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. Overrides EntityInterface::delete File core/modules/views_ui/src/ViewUI.php, line 978 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function delete() { return $this->storage->delete(); }

TranslationStatusForm::createInfoString

protected TranslationStatusForm::createInfoString($project_info) Provides debug info for projects in case translation files are not found. Translations files are being fetched either from Drupal translation server and local files or only from the local filesystem depending on the "Translation source" setting at admin/config/regional/translate/settings. This method will produce debug information including the respective path(s) based on this setting. Parameters array $project_info: An array whi

TranslatableMarkup::render

public TranslatableMarkup::render() Renders the object as a string. Return value string The translated string. Overrides ToStringTrait::render File core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 197 Class TranslatableMarkup Provides translatable markup class. Namespace Drupal\Core\StringTranslation Code public function render() { if (!isset($this->translatedMarkup)) { $this->translatedMarkup = $this->getStringTranslation()->translateString($this)

PoWriterInterface::writeItem

public PoWriterInterface::writeItem(PoItem $item) Writes the given item. Parameters PoItem $item: One specific item to write. File core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 16 Class PoWriterInterface Shared interface definition for all Gettext PO Writers. Namespace Drupal\Component\Gettext Code public function writeItem(PoItem $item);