FileTransfer::factory

static FileTransfer::factory($jail, $settings) Defines a factory method for this class. Classes that extend this class must override the factory() static method. They should return a new instance of the appropriate FileTransfer subclass. Parameters string $jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem. array $settings: An array of connection settings for

UserMultipleCancelConfirm::getFormId

public UserMultipleCancelConfirm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 69 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getFormId() { return 'user_multiple_cancel_confirm'; }

BlockBase::setTransliteration

public BlockBase::setTransliteration(TransliterationInterface $transliteration) Sets the transliteration service. Parameters \Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service. File core/lib/Drupal/Core/Block/BlockBase.php, line 273 Class BlockBase Defines a base block implementation that most blocks plugins will extend. Namespace Drupal\Core\Block Code public function setTransliteration(TransliterationInterface $transliteration) {

MenuLinkContentForm::__construct

public MenuLinkContentForm::__construct(EntityManagerInterface $entity_manager, MenuParentFormSelectorInterface $menu_parent_selector, LanguageManagerInterface $language_manager, PathValidatorInterface $path_validator) Constructs a MenuLinkContentForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Menu\MenuParentFormSelectorInterface $menu_parent_selector: The menu parent form selector service. \Drupal\Core\Language\LanguageManag

ConfigImporter::getNextExtensionOperation

protected ConfigImporter::getNextExtensionOperation() Gets the next extension operation to perform. Return value array|bool An array containing the next operation and extension name to perform it on. If there is nothing left to do returns FALSE; File core/lib/Drupal/Core/Config/ConfigImporter.php, line 659 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function getNextExtensionOperation() { foreach (array('module', 'theme') as $typ

ConfigBase::MAX_NAME_LENGTH

The maximum length of a configuration object name. Many filesystems (including HFS, NTFS, and ext4) have a maximum file name length of 255 characters. To ensure that no configuration objects incompatible with this limitation are created, we enforce a maximum name length of 250 characters (leaving 5 characters for the file extension). Configuration objects not stored on the filesystem should still be restricted in name length so name can be used as a cache key. See also http://wikipedia.org/wik

RegisterLazyRouteFilters

Registers all lazy route filters onto the lazy route filter. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\RegisterLazyRouteFilters implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterLazyRouteFilters.php, line 11 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description RegisterLazyRouteFilters::process public function You can modify the container here before it is dumped to PHP cod

ClientFactory::$stack

The handler stack. Type: \GuzzleHttp\HandlerStack File core/lib/Drupal/Core/Http/ClientFactory.php, line 20 Class ClientFactory Helper class to construct a HTTP client with Drupal specific config. Namespace Drupal\Core\Http Code protected $stack;

locale_translate_delete_translation_files

locale_translate_delete_translation_files(array $projects = array(), array $langcodes = array()) Deletes interface translation files and translation history records. Parameters array $projects: (optional) Project names from which to delete the translation files and history. Defaults to all projects. array $langcodes: (optional) Language codes from which to delete the translation files and history. Defaults to all languages. Return value bool TRUE if files are removed successfully. FALSE if on

ContentLanguageSettings::getTargetBundle

public ContentLanguageSettings::getTargetBundle() Gets the bundle this config applies to. Return value string Overrides ContentLanguageSettingsInterface::getTargetBundle File core/modules/language/src/Entity/ContentLanguageSettings.php, line 105 Class ContentLanguageSettings Defines the ContentLanguageSettings entity. Namespace Drupal\language\Entity Code public function getTargetBundle() { return $this->target_bundle; }