drupal_install_fix_file

drupal_install_fix_file($file, $mask, $message = TRUE) Attempts to fix file permissions. The general approach here is that, because we do not know the security setup of the webserver, we apply our permission changes to all three digits of the file permission (i.e. user, group and all). To ensure that the values behave as expected (and numbers don't carry from one digit to the next) we do the calculation on the octal value using bitwise operations. This lets us remove, for example, 0222 from 070

ModuleHandler::loadAllIncludes

public ModuleHandler::loadAllIncludes($type, $name = NULL) Loads an include file for each enabled module. Parameters string $type: The include file's type (file extension). string $name: (optional) The base file name (without the $type extension). If omitted, each module's name is used; i.e., "$module.$type" by default. Overrides ModuleHandlerInterface::loadAllIncludes File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 252 Class ModuleHandler Class that manages modules in a Drupa

ConfigSingleImportForm::submitForm

public ConfigSingleImportForm::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 FormInterface::submitForm File core/modules/config/src/Form/ConfigSingleImportForm.php, line 384 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drup

EditorInterface::getFilterFormat

public EditorInterface::getFilterFormat() Returns the filter format this text editor is associated with. This could be NULL if the associated filter format is still being created. Return value \Drupal\filter\FilterFormatInterface|null See also hasAssociatedFilterFormat() File core/modules/editor/src/EditorInterface.php, line 31 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getFilterFormat();

node_access_view_all_nodes

node_access_view_all_nodes($account = NULL) Determines whether the user has a global viewing grant for all nodes. Checks to see whether any module grants global 'view' access to a user account; global 'view' access is encoded in the {node_access} table as a grant with nid=0. If no node access modules are enabled, node.module defines such a global 'view' access grant. This function is called when a node listing query is tagged with 'node_access'; when this function returns TRUE, no node access j

EntityRepository::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Entity/EntityRepository.php, line 27 Class EntityRepository Provides several mechanisms for retrieving entities. Namespace Drupal\Core\Entity Code protected $languageManager;

FileSystemInterface::uriScheme

public FileSystemInterface::uriScheme($uri) Returns the scheme of a URI (e.g. a stream). Parameters string $uri: A stream, referenced as "scheme://target" or "data:target". Return value string|bool A string containing the name of the scheme, or FALSE if none. For example, the URI "public://example.txt" would return "public". See also file_uri_target() File core/lib/Drupal/Core/File/FileSystemInterface.php, line 222 Class FileSystemInterface Provides an interface for helpers that operate

ImageInterface::getWidth

public ImageInterface::getWidth() Returns the width of the image. Return value int|null The width of the image, or NULL if the image is invalid. File core/lib/Drupal/Core/Image/ImageInterface.php, line 32 Class ImageInterface Provides an interface for image objects. Namespace Drupal\Core\Image Code public function getWidth();

ConfigImporterEvent::getConfigImporter

public ConfigImporterEvent::getConfigImporter() Gets the config import object. Return value \Drupal\Core\Config\ConfigImporter The ConfigImporter object. File core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 31 Class ConfigImporterEvent Namespace Drupal\Core\Config Code public function getConfigImporter() { return $this->configImporter; }

RevisionLogInterface::getRevisionUserId

public RevisionLogInterface::getRevisionUserId() Gets the entity revision author ID. Return value int The user ID. File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 54 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function getRevisionUserId();