FileWidgetAjaxController::progress

public FileWidgetAjaxController::progress($key) Returns the progress status for a file upload process. Parameters string $key: The unique key for this upload process. Return value \Symfony\Component\HttpFoundation\JsonResponse A JsonResponse object. File core/modules/file/src/Controller/FileWidgetAjaxController.php, line 21 Class FileWidgetAjaxController Defines a controller to respond to file widget AJAX requests. Namespace Drupal\file\Controller Code public function progress($key)

ConstraintViolationBuilder::$violations

The list of violations. Type: \Symfony\Component\Validator\ConstraintViolationList File core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php, line 26 Class ConstraintViolationBuilder Defines a constraint violation builder for the Typed Data validator. Namespace Drupal\Core\TypedData\Validation Code protected $violations;

ViewExecutable::preExecute

public ViewExecutable::preExecute($args = array()) Runs attachments and lets the display do what it needs to before running. Parameters array $args: An array of arguments from the URL that can be used by the view. File core/modules/views/src/ViewExecutable.php, line 1661 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function preExecute($args = array()) { $this->old_view[] = views_get_current_view(); views_set_current_view($this); $displ

ConfigurableLanguageManager::$initialized

Whether or not the language manager has been initialized. Type: bool File core/modules/language/src/ConfigurableLanguageManager.php, line 90 Class ConfigurableLanguageManager Overrides default LanguageManager to provide configured languages. Namespace Drupal\language Code protected $initialized = FALSE;

BlockAccessControlHandler::$contextRepository

The context manager service. Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface File core/modules/block/src/BlockAccessControlHandler.php, line 49 Class BlockAccessControlHandler Defines the access control handler for the block entity type. Namespace Drupal\block Code protected $contextRepository;

BaseFieldOverride::getDisplayOptions

public BaseFieldOverride::getDisplayOptions($display_context) Returns the default display options for the field. If the field's display is configurable, the returned display options act as default values and may be overridden via the respective entity display. Otherwise, the display options will be applied to entity displays as is. Parameters string $display_context: The display context. Either 'view' or 'form'. Return value array|null The array of display options for the field, or NULL if th

RemoveCommand

AJAX command for calling the jQuery remove() method. The 'remove' command instructs the client to use jQuery's remove() method to remove each of elements matched by the given selector, and everything within them. This command is implemented by Drupal.AjaxCommands.prototype.remove() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\RemoveCommand implements CommandInterface See also http://docs.jquery.com/Manipulation/remove#expr Related topics Ajax API Overview for Drupal's Ajax API

RouteSubscriber::getSubscribedEvents

public static RouteSubscriber::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', $priority)) arra

ConfigSync::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/config/src/Form/ConfigSync.php, line 102 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $renderer;

ViewExecutable::_preQuery

protected ViewExecutable::_preQuery() Runs the preQuery() on all active handlers. File core/modules/views/src/ViewExecutable.php, line 995 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _preQuery() { foreach ($this::getHandlerTypes() as $key => $info) { $handlers = &$this->$key; $position = 0; foreach ($handlers as $id => $handler) { $handlers[$id]->position = $position; $handlers[$id]->preQ