AccessResult::getCacheMaxAge

public AccessResult::getCacheMaxAge() The maximum age for which this object may be cached. Return value int The maximum time in seconds that this object may be cached. Overrides RefinableCacheableDependencyTrait::getCacheMaxAge File core/lib/Drupal/Core/Access/AccessResult.php, line 197 Class AccessResult Value object for passing an access result with cacheability metadata. Namespace Drupal\Core\Access Code public function getCacheMaxAge() { return $this->cacheMaxAge; }

FormBuilderInterface

Provides an interface for form building and processing. Hierarchy interface \Drupal\Core\Form\FormBuilderInterface File core/lib/Drupal/Core/Form/FormBuilderInterface.php, line 8 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormBuilderInterface::AJAX_FORM_REQUEST constant Request key for AJAX forms that submit to the form's original route. FormBuilderInterface::buildForm public function Builds and processes a form for a given form ID. Form

Query::execute

public Query::execute() Execute the query. Return value int|array Returns an integer for count queries or an array of ids. The values of the array are always entity ids. The keys will be revision ids if the entity supports revision and entity ids if not. Overrides QueryInterface::execute File core/lib/Drupal/Core/Config/Entity/Query/Query.php, line 80 Class Query Defines the entity query for configuration entities. Namespace Drupal\Core\Config\Entity\Query Code public function execute

BlockForm::validateForm

public BlockForm::validateForm(array &$form, FormStateInterface $form_state) Form validation 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 FormBase::validateForm File core/modules/block/src/BlockForm.php, line 301 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code public function validateForm(array &$form, For

FieldConfigDeleteForm::getConfigNamesToDelete

protected FieldConfigDeleteForm::getConfigNamesToDelete(ConfigEntityInterface $entity) Returns config names to delete for the deletion confirmation form. Parameters \Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity being deleted. Return value string[] A list of configuration names that will be deleted by this form. Overrides EntityDeleteForm::getConfigNamesToDelete File core/modules/field_ui/src/Form/FieldConfigDeleteForm.php, line 69 Class FieldConfigDeleteForm Provid

ConfigEvents::SAVE

Name of the event fired when saving a configuration object. This event allows modules to perform an action whenever a configuration object is saved. The event listener method receives a \Drupal\Core\Config\ConfigCrudEvent instance. See hook_update_N() documentation for safe configuration API usage and restrictions as this event will be fired when configuration is saved by hook_update_N(). See also \Drupal\Core\Config\ConfigCrudEvent \Drupal\Core\Config\Config::save() \Drupal\Core\Config\Config

StorageReplaceDataWrapper::$storage

The configuration storage to be wrapped. Type: \Drupal\Core\Config\StorageInterface File core/modules/config/src/StorageReplaceDataWrapper.php, line 19 Class StorageReplaceDataWrapper Wraps a configuration storage to allow replacing specific configuration data. Namespace Drupal\config Code protected $storage;

EntityStorageException

Defines an exception thrown when storage operations fail. Hierarchy class \Drupal\Core\Entity\EntityStorageException extends \Exception File core/lib/Drupal/Core/Entity/EntityStorageException.php, line 8 Namespace Drupal\Core\Entity Members

OpenDialogCommand::setDialogOptions

public OpenDialogCommand::setDialogOptions($dialog_options) Sets the dialog options array. Parameters array $dialog_options: Options to be passed to the dialog implementation. Any jQuery UI option can be used. See http://api.jqueryui.com/dialog. File core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 98 Class OpenDialogCommand Defines an AJAX command to open certain content in a dialog. Namespace Drupal\Core\Ajax Code public function setDialogOptions($dialog_options) { $this->

ConfigImporter::processConfiguration

protected ConfigImporter::processConfiguration($collection, $op, $name) Processes a configuration change. Parameters string $collection: The configuration collection to process changes for. string $op: The change operation. string $name: The name of the configuration to process. Throws \Exception Thrown when the import process fails, only thrown when no importer log is set, otherwise the exception message is logged and the configuration is skipped. File core/lib/Drupal/Core/Config/ConfigImpor