AttachmentsResponseProcessorInterface::processAttachments

public AttachmentsResponseProcessorInterface::processAttachments(AttachmentsInterface $response) Processes the attachments of a response that has attachments. Libraries, JavaScript settings, feeds, HTML <head> tags, HTML <head> links, HTTP headers, and the HTTP status code are attached to render arrays using the #attached property. The #attached property is an associative array, where the keys are the attachment types and the values are the attached data. For example: $build['#attac

UpdateProcessor::$failed

Array of release history URLs that we have failed to fetch Type: array File core/modules/update/src/UpdateProcessor.php, line 64 Class UpdateProcessor Process project update information. Namespace Drupal\update Code protected $failed;

FormState::setRequestMethod

public FormState::setRequestMethod($method) Sets the HTTP method used by the request that is building the form. Parameters string $method: Can be any valid HTTP method, such as GET, POST, HEAD, etc. Return value $this Overrides FormStateInterface::setRequestMethod See also \Drupal\Core\Form\FormStateInterface::setMethod() File core/lib/Drupal/Core/Form/FormState.php, line 604 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public functio

FormState::setStorage

public FormState::setStorage(array $storage) Sets the entire set of arbitrary data. Parameters array $storage: The entire set of arbitrary data to store for this form. Return value $this Overrides FormStateInterface::setStorage File core/lib/Drupal/Core/Form/FormState.php, line 727 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function setStorage(array $storage) { $this->storage = $storage; return $this; }

CommentManager::$authenticatedCanPostComments

Whether the \Drupal\user\RoleInterface::AUTHENTICATED_ID can post comments. Type: bool File core/modules/comment/src/CommentManager.php, line 46 Class CommentManager Comment manager contains common functions to manage comment fields. Namespace Drupal\comment Code protected $authenticatedCanPostComments;

FormStateDecoratorBase::setValues

public FormStateDecoratorBase::setValues(array $values) Sets the submitted form values. This should be avoided, since these values have been validated already. Use self::setUserInput() instead. Parameters array $values: The multi-dimensional associative array of form values. Return value $this Overrides FormStateInterface::setValues File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 526 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form

DateHelper::hours

public static DateHelper::hours($format = 'H', $required = FALSE) Constructs an array of hours. Parameters string $format: (optional) A date format string that indicates the format to use for the hours. Defaults to 'H'. bool $required: (optional) If FALSE, the returned array will include a blank value. Defaults to FALSE. Return value array An array of hours in the selected format. File core/lib/Drupal/Core/Datetime/DateHelper.php, line 351 Class DateHelper Defines Gregorian Calendar date

FormState::setTemporary

public FormState::setTemporary(array $temporary) Sets temporary data. Parameters array $temporary: Temporary data accessible during the current page request only. Return value $this Overrides FormStateInterface::setTemporary File core/lib/Drupal/Core/Form/FormState.php, line 772 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function setTemporary(array $temporary) { $this->temporary = $temporary; return $this; }

CheckProvider::setChecks

public CheckProvider::setChecks(RouteCollection $routes) For each route, saves a list of applicable access checks to the route. Parameters \Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply checks to. Overrides CheckProviderInterface::setChecks File core/lib/Drupal/Core/Access/CheckProvider.php, line 82 Class CheckProvider Loads access checkers from the container. Namespace Drupal\Core\Access Code public function setChecks(RouteCollection $routes) {

FormState::setTriggeringElement

public FormState::setTriggeringElement($triggering_element) Sets the form element that triggered submission. Parameters array|null $triggering_element: The form element that triggered submission, of NULL if there is none. Return value $this Overrides FormStateInterface::setTriggeringElement File core/lib/Drupal/Core/Form/FormState.php, line 812 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function setTriggeringElement($triggerin