SSH::copyDirectoryJailed

protected SSH::copyDirectoryJailed($source, $destination) Copies a directory. We need a separate method to make sure the $destination is in the jail. Parameters string $source: The source path. string $destination: The destination path. Overrides FileTransfer::copyDirectoryJailed File core/lib/Drupal/Core/FileTransfer/SSH.php, line 57 Class SSH The SSH connection class for the update module. Namespace Drupal\Core\FileTransfer Code protected function copyDirectoryJailed($source, $desti

SSH

The SSH connection class for the update module. Hierarchy class \Drupal\Core\FileTransfer\FileTransferclass \Drupal\Core\FileTransfer\SSH implements ChmodInterface File core/lib/Drupal/Core/FileTransfer/SSH.php, line 8 Namespace Drupal\Core\FileTransfer Members Name Modifiers Type Description FileTransfer::$hostname protected property The hostname for this file transfer. FileTransfer::$password protected property The password for this file transfer. FileTransf

SSH::chmodJailed

SSH::chmodJailed($path, $mode, $recursive) Changes the permissions of the file / directory specified in $path Parameters string $path: Path to change permissions of. int $mode: The new file permission mode to be passed to chmod(). bool $recursive: Pass TRUE to recursively chmod the entire directory specified in $path. Overrides ChmodInterface::chmodJailed See also http://php.net/chmod File core/lib/Drupal/Core/FileTransfer/SSH.php, line 130 Class SSH The SSH connection class for the upda

SSH::connect

public SSH::connect() Connects to the server. Overrides FileTransfer::connect File core/lib/Drupal/Core/FileTransfer/SSH.php, line 24 Class SSH The SSH connection class for the update module. Namespace Drupal\Core\FileTransfer Code public function connect() { $this->connection = @ssh2_connect($this->hostname, $this->port); if (!$this->connection) { throw new FileTransferException('SSH Connection failed to @host:@port', NULL, array('@host' => $this->hostname, '

SSH::copyFileJailed

protected SSH::copyFileJailed($source, $destination) Copies a file. Parameters string $source: The source file. string $destination: The destination file. Overrides FileTransfer::copyFileJailed File core/lib/Drupal/Core/FileTransfer/SSH.php, line 48 Class SSH The SSH connection class for the update module. Namespace Drupal\Core\FileTransfer Code protected function copyFileJailed($source, $destination) { if (!@ssh2_scp_send($this->connection, $source, $destination)) { throw ne

SqlEntityStorageInterface::getTableMapping

public SqlEntityStorageInterface::getTableMapping(array $storage_definitions = NULL) Gets a table mapping for the entity's SQL tables. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions: (optional) An array of field storage definitions to be used to compute the table mapping. Defaults to the ones provided by the entity manager. Return value \Drupal\Core\Entity\Sql\TableMappingInterface A table mapping object for the entity's tables. File core/lib/Drupal/Core/

SqlContentEntityStorageSchema::updateSharedTableSchema

protected SqlContentEntityStorageSchema::updateSharedTableSchema(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Updates the schema for a field stored in a shared table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The storage definition of the field being updated. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original storage definition; i.e., the definition before the update. Throws \Dr

SqlEntityStorageInterface

A common interface for SQL-based entity storage implementations. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Entity\Sql\SqlEntityStorageInterface File core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php, line 10 Namespace Drupal\Core\Entity\Sql Members Name Modifiers Type Description EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it. EntityStorageInterface::de

SqlContentEntityStorageSchema::__construct

public SqlContentEntityStorageSchema::__construct(EntityManagerInterface $entity_manager, ContentEntityTypeInterface $entity_type, SqlContentEntityStorage $storage, Connection $database) Constructs a SqlContentEntityStorageSchema. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. \Drupal\Core\Entity\Sql\SqlContentEntityStorage $storage: The storage of the entity type. This mus

SqlContentEntityStorageSchema::updateDedicatedTableSchema

protected SqlContentEntityStorageSchema::updateDedicatedTableSchema(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Updates the schema for a field stored in a shared table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The storage definition of the field being updated. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original storage definition; i.e., the definition before the update. Throws