Feed::preCreate

public static Feed::preCreate(EntityStorageInterface $storage, array &$values) Changes the values of an entity before it is created. Load defaults for example. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. mixed[] $values: An array of values to set, keyed by property name. If the entity type has bundles the bundle key has to be specified. Overrides Entity::preCreate File core/modules/aggregator/src/Entity/Feed.php, line 90 Class Feed Define

ModuleHandlerInterface::getHookInfo

public ModuleHandlerInterface::getHookInfo() Retrieves a list of hooks that are declared through hook_hook_info(). Return value array An associative array whose keys are hook names and whose values are an associative array containing a group name. The structure of the array is the same as the return value of hook_hook_info(). See also hook_hook_info() File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 173 Class ModuleHandlerInterface Interface for classes that manage a

hook_uninstall

hook_uninstall() Remove any information that the module sets. The information that the module should remove includes: state that the module has set using \Drupal::state() modifications to existing tables The module should not remove its entry from the module configuration. Database tables defined by hook_schema() will be removed automatically. The uninstall hook must be implemented in the module's .install file. It will fire when the module gets uninstalled but before the module's database ta

CommentForm::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/comment/src/CommentForm.php, line 27 Class CommentForm Base handler for comment forms. Namespace Drupal\comment Code protected $currentUser;

BrokenPostRequestException::getSize

public BrokenPostRequestException::getSize() Returns the maximum upload size. Return value string A translated string representation of the size of the file size limit based on the PHP upload_max_filesize and post_max_size. File core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, line 44 Class BrokenPostRequestException Defines an exception used, when the POST HTTP body is broken. Namespace Drupal\Core\Form\Exception Code public function getSize() { return $this->

ConfirmDeleteMultiple::buildForm

public ConfirmDeleteMultiple::buildForm(array $form, FormStateInterface $form_state) Form constructor. 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 array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 81 Class ConfirmDeleteMultiple Provides the comment multiple delete confirmation f

ViewEntityInterface::getDisplay

public &ViewEntityInterface::getDisplay($display_id) Retrieves a specific display's configuration by reference. Parameters string $display_id: The display ID to retrieve, e.g., 'default', 'page_1', 'block_2'. Return value array A reference to the specified display configuration. File core/modules/views/src/ViewEntityInterface.php, line 29 Class ViewEntityInterface Defines an interface for View storage classes. Namespace Drupal\views Code public function &getDisplay($display_i

SearchPageInterface::isIndexable

public SearchPageInterface::isIndexable() Determines if this search page entity is indexable. Return value bool TRUE if this search page entity is indexable, FALSE otherwise. File core/modules/search/src/SearchPageInterface.php, line 42 Class SearchPageInterface Provides an interface defining a search page entity. Namespace Drupal\search Code public function isIndexable();

ViewUI::getConfigDependencyName

public ViewUI::getConfigDependencyName() Gets the configuration dependency name. Configuration entities can depend on content and configuration entities. They store an array of content and config dependency names in their "dependencies" key. Return value string The configuration dependency name. Overrides EntityInterface::getConfigDependencyName See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/views_ui/src/ViewUI.php, line 1199 Class ViewUI Stores UI related

ViewsEntitySchemaSubscriber::REVISION_TABLE_REMOVAL

Indicates that a revision table got removed. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 53 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_TABLE_REMOVAL = 6;