Zip::$zip

The underlying ZipArchive instance that does the heavy lifting. Type: \ZipArchive File core/lib/Drupal/Core/Archiver/Zip.php, line 17 Class Zip Defines a archiver implementation for .zip files. Namespace Drupal\Core\Archiver Code protected $zip;

ViewExecutable::hasFormElements

public ViewExecutable::hasFormElements() Determines if this view has form elements. Return value bool TRUE if this view contains handlers with views form implementations, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 2439 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function hasFormElements() { foreach ($this->field as $field) { if (property_exists($field, 'views_form_callback') || method_exists($field, 'viewsFo

ViewExecutable::id

public ViewExecutable::id() Returns the identifier. Return value string|null The entity identifier, or NULL if the object does not yet have an identifier. File core/modules/views/src/ViewExecutable.php, line 466 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function id() { return $this->storage->id(); }

ThemeInitialization::getActiveTheme

public ThemeInitialization::getActiveTheme(Extension $theme, array $base_themes = []) Builds up the active theme object from extensions. Parameters \Drupal\Core\Extension\Extension $theme: The theme extension object. \Drupal\Core\Extension\Extension[] $base_themes: An array of extension objects of base theme and its bases. It is ordered by 'next parent first', meaning the top level of the chain will be first. Return value \Drupal\Core\Theme\ActiveTheme The active theme instance for the passed

file_help

file_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/file/file.module, line 28 Defines a "managed_file" Form API field and a "file" field for Field module. Code function file_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.file': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The File module allows you to create fields that contain

CommentAdminOverview::__construct

public CommentAdminOverview::__construct(EntityManagerInterface $entity_manager, CommentStorageInterface $comment_storage, DateFormatterInterface $date_formatter, ModuleHandlerInterface $module_handler) Creates a CommentAdminOverview form. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\comment\CommentStorageInterface $comment_storage: The comment storage. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter

InstallerException::__construct

public InstallerException::__construct($message, $title = 'Error', $code = 0, \Exception $previous = NULL) Constructs a new installer exception. Parameters string $title: The page title. string $message: (optional) The exception message. Defaults to 'Error'. int $code: (optional) The exception code. Defaults to 0. \Exception $previous: (optional) A previous exception. File core/lib/Drupal/Core/Installer/Exception/InstallerException.php, line 32 Class InstallerException Base class for exce

SearchPageListBuilder::getFormId

public SearchPageListBuilder::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/search/src/SearchPageListBuilder.php, line 78 Class SearchPageListBuilder Defines a class to build a listing of search page entities. Namespace Drupal\search Code public function getFormId() { return 'search_admin_settings'; }

SessionManager::setWriteSafeHandler

public SessionManager::setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) Sets the write safe session handler. @todo: This should be removed once all database queries are removed from the session manager class. Overrides SessionManagerInterface::setWriteSafeHandler File core/lib/Drupal/Core/Session/SessionManager.php, line 271 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $

DiffFormatter::$rows

The diff represented as an array of rows. Type: array File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 20 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected $rows = array();