BookUninstallValidator::$entityQuery

The entity query for node. Type: \Drupal\Core\Entity\Query\QueryInterface File core/modules/book/src/BookUninstallValidator.php, line 30 Class BookUninstallValidator Prevents book module from being uninstalled whilst any book nodes exist or there are any book outline stored. Namespace Drupal\book Code protected $entityQuery;

PhpStreamWrapperInterface::stream_seek

public PhpStreamWrapperInterface::stream_seek($offset, $whence = SEEK_SET) Seeks to specific location in a stream. This method is called in response to fseek(). The read/write position of the stream should be updated according to the offset and whence. Parameters int $offset: The byte offset to seek to. int $whence: Possible values: SEEK_SET: Set position equal to offset bytes. SEEK_CUR: Set position to current location plus offset. SEEK_END: Set position to end-of-file plus offset. Defau

FormStateDecoratorBase::isExecuted

public FormStateDecoratorBase::isExecuted() Determines if the form was submitted and has been processed and executed. Return value bool TRUE if the form was submitted and has been processed and executed. Overrides FormStateInterface::isExecuted File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 98 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isExecuted() { return $this->decoratedFormState->isExecuted();

UserInterface::block

public UserInterface::block() Blocks the user. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 152 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function block();

ConfigSingleImportForm::$lock

The database lock object. Type: \Drupal\Core\Lock\LockBackendInterface File core/modules/config/src/Form/ConfigSingleImportForm.php, line 71 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drupal\config\Form Code protected $lock;

NoFieldsException

Exception thrown if an insert query doesn't specify insert or default fields. Hierarchy class \Drupal\Core\Database\Query\NoFieldsException extends \InvalidArgumentException implements DatabaseException File core/lib/Drupal/Core/Database/Query/NoFieldsException.php, line 10 Namespace Drupal\Core\Database\Query Members

ContentLanguageSettingsInterface::isDefaultConfiguration

public ContentLanguageSettingsInterface::isDefaultConfiguration() Checks if this config object contains the default values in every property. Return value bool True if all the properties contain the default values. False otherwise. File core/modules/language/src/ContentLanguageSettingsInterface.php, line 76 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function isDefaultConfiguration(

BaseFieldDefinition::addPropertyConstraints

public BaseFieldDefinition::addPropertyConstraints($name, array $constraints) Adds constraints for a given field item property. Adds a constraint to a property of a base field item. e.g. // Limit the field item's value property to the range 0 through 10. // e.g. $node->size->value. $field->addPropertyConstraints('value', [ 'Range' => [ 'min' => 0, 'max' => 10, ] ]); If you want to add a validation constraint that applies to the \Drupal\Core\Field\FieldItemList, u

LocalTaskManager::getLocalTasks

public LocalTaskManager::getLocalTasks($route_name, $level = 0) Collects the local tasks (tabs) for the current route. Parameters string $route_name: The route for which to make renderable local tasks. int $level: The level of tasks you ask for. Primary tasks are 0, secondary are 1. Return value array An array containing tabs: Local tasks render array for the requested level. route_name: The route name for the current page used to collect the local tasks. Overrides LocalTaskManagerInterfa

LanguageNegotiation::$name

The human-readable name of the language negotiation plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/language/src/Annotation/LanguageNegotiation.php, line 59 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $name;