ContentEntityBase::$values

The plain data values of the contained fields. This always holds the original, unchanged values of the entity. The values are keyed by language code, whereas LanguageInterface::LANGCODE_DEFAULT is used for values in default language. @todo: Add methods for getting original fields and for determining changes. @todo: Provide a better way for defining default values. Type: array File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 49 Class ContentEntityBase Implements Entity Field API

system_authorized_init

system_authorized_init($callback, $file, $arguments = array(), $page_title = NULL) Setup a given callback to run via authorize.php with elevated privileges. To use authorize.php, certain variables must be stashed into $_SESSION. This function sets up all the necessary $_SESSION variables. The calling function should then redirect to authorize.php, using the full path returned by system_authorized_get_url(). That initiates the workflow that will eventually lead to the callback being invoked. The

ModulesUninstallConfirmForm::$modules

An array of modules to uninstall. Type: array File core/modules/system/src/Form/ModulesUninstallConfirmForm.php, line 54 Class ModulesUninstallConfirmForm Builds a confirmation form to uninstall selected modules. Namespace Drupal\system\Form Code protected $modules = array();

views_view_delete

views_view_delete(EntityInterface $entity) Implements hook_ENTITY_TYPE_delete(). File core/modules/views/views.module, line 820 Primarily Drupal hooks and global API functions to manipulate views. Code function views_view_delete(EntityInterface $entity) { // Rebuild the routes in case there is a routed display. $executable = Views::executableFactory()->get($entity); $executable->initDisplay(); foreach ($executable->displayHandlers as $display) { if ($display->getRouted

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

ConditionFundamentals::$conjunction

The conjunction of this condition group. The value is one of the following: AND (default) OR Type: string File core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 25 Class ConditionFundamentals Common code for all implementations of the entity query condition interfaces. Namespace Drupal\Core\Entity\Query Code protected $conjunction;

MessageForm::save

public MessageForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the operation

AuthenticationSubscriber::getSubscribedEvents

public static AuthenticationSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priorit

Link::getInfo

public Link::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Link.php, line 34 Class Link Provides a link render element. Namespace Drupal\Core\Render\Element Code public function getInfo() { $c

EntityTypeInterface::getLabel

public EntityTypeInterface::getLabel() Gets the human-readable name of the entity type. Return value string The human-readable name of the entity type. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 620 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getLabel();