NODE_NOT_PUBLISHED

Denotes that the node is not published. File core/modules/node/node.module, line 35 The core module that allows content to be submitted to the site. Code const NODE_NOT_PUBLISHED = 0;

PoStreamReader::readLine

private PoStreamReader::readLine() Reads a line from the PO stream and stores data internally. Expands $this->_current_item based on new data for the current item. If this line ends the current item, it is saved with setItemFromArray() with data from $this->_current_item. An internal state machine is maintained in this reader using $this->_context as the reading state. PO items are in between COMMENT states (when items have at least one line or comment in between them) or indicated by

ContextAwareVariantInterface::setContexts

public ContextAwareVariantInterface::setContexts(array $contexts) Sets the context values for this display variant. Parameters \Drupal\Component\Plugin\Context\ContextInterface[] $contexts: An array of contexts, keyed by context name. Return value $this File core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php, line 26 Class ContextAwareVariantInterface Provides an interface for variant plugins that are context-aware. Namespace Drupal\Core\Display Code public function setCon

NoUniqueFieldException

Exception thrown if an upsert query doesn't specify a unique field. Hierarchy class \Drupal\Core\Database\Query\NoUniqueFieldException extends \InvalidArgumentException implements DatabaseException File core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php, line 10 Namespace Drupal\Core\Database\Query Members

color_scheme_form

color_scheme_form($complete_form, FormStateInterface $form_state, $theme) Form constructor for the color configuration form for a particular theme. Parameters $theme: The machine name of the theme whose color settings are being configured. See also color_scheme_form_validate() color_scheme_form_submit() File core/modules/color/color.module, line 200 Allows users to change the color scheme of themes. Code function color_scheme_form($complete_form, FormStateInterface $form_state, $theme) {

Connection::open

public static Connection::open(array &$connection_options = array()) Opens a PDO connection. Parameters array $connection_options: The database connection settings array. Return value \PDO A \PDO object. Overrides Connection::open File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 92 Class Connection SQLite implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\sqlite Code public static function open(array &$connection_opt

BlockContentDeleteForm

Provides a confirmation form for deleting a custom block entity. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityConfirmF

FieldConfigListController

Defines a controller to list field instances. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\Controller\EntityListControllerclass \Drupal\field_ui\Controller\FieldConfigListController File core/modules/field_ui/src/Controller/FieldConfigListController.php, line 11 Namespace Drupal\field_ui\Controller M

update_help

update_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/update/update.module, line 69 Handles updates of Drupal core and contributed projects. Code function update_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.update': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Update Manager module periodically checks for new versions of

QueryBase::$allRevisions

Flag indicating whether to query the current revision or all revisions. Type: bool File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 109 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code protected $allRevisions = FALSE;