FileTransfer::copyDirectory

public final FileTransfer::copyDirectory($source, $destination) Copies a directory. Parameters string $source: The source path. string $destination: The destination path. File core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 118 Class FileTransfer Defines the base FileTransfer class. Namespace Drupal\Core\FileTransfer Code public final function copyDirectory($source, $destination) { $source = $this->sanitizePath($source); $destination = $this->fixRemotePath($destinat

ContainerBuilder::set

public ContainerBuilder::set($id, $service, $scope = self::SCOPE_CONTAINER) Overrides Symfony\Component\DependencyInjection\ContainerBuilder::set(). Drupal's container builder can be used at runtime after compilation, so we override Symfony's ContainerBuilder's restriction on setting services in a frozen builder. @todo Restrict this to synthetic services only. Ideally, the upstream ContainerBuilder class should be fixed to allow setting synthetic services in a frozen builder. Overrides Containe

UserData::$connection

The database connection to use. Type: \Drupal\Core\Database\Connection File core/modules/user/src/UserData.php, line 17 Class UserData Defines the user data service. Namespace Drupal\user Code protected $connection;

ConfigTranslationController::$languageManager

The language manager. Overrides ControllerBase::$languageManager File core/modules/config_translation/src/Controller/ConfigTranslationController.php, line 67 Class ConfigTranslationController Provides page callbacks for the configuration translation interface. Namespace Drupal\config_translation\Controller Code protected $languageManager;

EntityForm::prepareInvokeAll

protected EntityForm::prepareInvokeAll($hook, FormStateInterface $form_state) Invokes the specified prepare hook variant. Parameters string $hook: The hook variant name. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/lib/Drupal/Core/Entity/EntityForm.php, line 387 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code protected function prepareInvokeAll($hook, FormStateInterface $form_state) { $implementations = $t

ConfigHandlerGroup::submitForm

public ConfigHandlerGroup::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 ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php, line 95 Class ConfigHandlerGroup Provides a form for configuring grouping information for a Views UI handler. Nam

AdminRouteSubscriber

Adds the _admin_route option to each admin route. Hierarchy class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterfaceclass \Drupal\system\EventSubscriber\AdminRouteSubscriber File core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php, line 12 Namespace Drupal\system\EventSubscriber Members Name Modifiers Type Description AdminRouteSubscriber::alterRoutes protected function Alters existing routes for a specific collection. Overrides Ro

PathValidator::__construct

public PathValidator::__construct(AccessAwareRouterInterface $access_aware_router, UrlMatcherInterface $access_unaware_router, AccountInterface $account, InboundPathProcessorInterface $path_processor) Creates a new PathValidator. Parameters \Drupal\Core\Routing\AccessAwareRouterInterface $access_aware_router: The access aware router. \Symfony\Component\Routing\Matcher\UrlMatcherInterface $access_unaware_router: A router implementation which does not check access. \Drupal\Core\Session\AccountIn

SharedTempStore::$storage

The key/value storage object used for this data. Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/user/src/SharedTempStore.php, line 45 Class SharedTempStore Stores and retrieves temporary data for a given owner. Namespace Drupal\user Code protected $storage;

ActionAdminManageForm::$manager

The action plugin manager. Type: \Drupal\Core\Action\ActionManager File core/modules/action/src/Form/ActionAdminManageForm.php, line 21 Class ActionAdminManageForm Provides a configuration form for configurable actions. Namespace Drupal\action\Form Code protected $manager;