FileStorage::$directory

The filesystem path for configuration objects. Type: string File core/lib/Drupal/Core/Config/FileStorage.php, line 26 Class FileStorage Defines the file storage. Namespace Drupal\Core\Config Code protected $directory = '';

_drupal_error_handler_real

_drupal_error_handler_real($error_level, $message, $filename, $line, $context) Provides custom PHP error handling. Parameters $error_level: The level of the error raised. $message: The error message. $filename: The filename that the error was raised in. $line: The line number the error was raised at. $context: An array that points to the active symbol table at the point the error occurred. File core/includes/errors.inc, line 60 Functions for error handling. Code function _drupal_error_handle

FTPExtension::isDirectory

public FTPExtension::isDirectory($path) Checks if a particular path is a directory. Parameters string $path: The path to check Return value bool TRUE if the specified path is a directory, FALSE otherwise. Overrides FileTransfer::isDirectory File core/lib/Drupal/Core/FileTransfer/FTPExtension.php, line 84 Class FTPExtension Defines a file transfer class using the PHP FTP extension. Namespace Drupal\Core\FileTransfer Code public function isDirectory($path) { $result = FALSE; $curr

TransactionOutOfOrderException

Exception thrown when a rollback() resulted in other active transactions being rolled-back. Hierarchy class \Drupal\Core\Database\TransactionException extends \RuntimeException implements DatabaseExceptionclass \Drupal\Core\Database\TransactionOutOfOrderException implements DatabaseException File core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php, line 8 Namespace Drupal\Core\Database Members

hook_file_download

hook_file_download($uri) Control access to private file downloads and specify HTTP headers. This hook allows modules to enforce permissions on file downloads whenever Drupal is handling file download, as opposed to the web server bypassing Drupal and returning the file from a public directory. Modules can also provide headers to specify information like the file's name or MIME type. Parameters $uri: The URI of the file. Return value If the user does not have permission to access the file, ret

StatementPrefetch::current

public StatementPrefetch::current() Return the current row formatted according to the current fetch style. This is the core method of this class. It grabs the value at the current array position in $this->data and format it according to $this->fetchStyle and $this->fetchMode. Return value mixed The current row formatted as requested. File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 268 Class StatementPrefetch An implementation of StatementInterface that prefetches a

comment_views_data_alter

comment_views_data_alter(&$data) Implements hook_views_data_alter(). File core/modules/comment/comment.views.inc, line 11 Provide views data for comment.module. Code function comment_views_data_alter(&$data) { // New comments are only supported for node table because it requires the // history table. $data['node']['new_comments'] = array( 'title' => t('New comments'), 'help' => t('The number of new comments on the node.'), 'field' => array( 'id' =>

ActionManager::getDefinitionsByType

public ActionManager::getDefinitionsByType($type) Gets the plugin definitions for this entity type. Parameters string $type: The entity type name. Return value array An array of plugin definitions for this entity type. File core/lib/Drupal/Core/Action/ActionManager.php, line 49 Class ActionManager Provides an Action plugin manager. Namespace Drupal\Core\Action Code public function getDefinitionsByType($type) { return array_filter($this->getDefinitions(), function($definition) us

SqlContentEntityStorage::isColumnSerial

protected SqlContentEntityStorage::isColumnSerial($table_name, $schema_name) Checks whether a field column should be treated as serial. Parameters $table_name: The name of the table the field column belongs to. $schema_name: The schema name of the field column. Return value bool TRUE if the column is serial, FALSE otherwise. See also \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::processBaseTable() \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::processRevisionTable() File cor

EntityRouteProviderSubscriber::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php, line 21 Class EntityRouteProviderSubscriber Ensures that routes can be provided by entity types. Namespace Drupal\Core\EventSubscriber Code protected $entityManager;