user_delete_multiple

user_delete_multiple(array $uids) Delete multiple user accounts. Parameters int[] $uids: An array of user IDs. See also hook_ENTITY_TYPE_predelete() hook_ENTITY_TYPE_delete() File core/modules/user/user.module, line 857 Enables the user registration and login system. Code function user_delete_multiple(array $uids) { entity_delete_multiple('user', $uids); }

FormStateInterface::getFormObject

public FormStateInterface::getFormObject() Returns the form object that is responsible for building this form. Return value \Drupal\Core\Form\FormInterface The form object. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 596 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function getFormObject();

EntityTypeInterface::getProvider

public EntityTypeInterface::getProvider() Gets the name of the provider of this entity type. Return value string The name of the provider of this entity type. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 64 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getProvider();

AdminPathConfigEntityConverter::$adminContext

The route admin context to determine whether a route is an admin one. Type: \Drupal\Core\Routing\AdminContext File core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php, line 39 Class AdminPathConfigEntityConverter Makes sure the unmodified ConfigEntity is loaded on admin pages. Namespace Drupal\Core\ParamConverter Code protected $adminContext;

FileCacheBackendInterface

Defines an interface inspired by APCu for FileCache backends. Hierarchy interface \Drupal\Component\FileCache\FileCacheBackendInterface File core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php, line 8 Namespace Drupal\Component\FileCache Members Name Modifiers Type Description FileCacheBackendInterface::delete public function Deletes data from a cache backend. FileCacheBackendInterface::fetch public function Fetches data from the cache backend. Fi

ViewAjaxController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 49 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $renderer;

ConfigBase::setName

public ConfigBase::setName($name) Sets the name of this configuration object. Parameters string $name: The name of the configuration object. Return value $this The configuration object. File core/lib/Drupal/Core/Config/ConfigBase.php, line 79 Class ConfigBase Provides a base class for configuration objects with get/set support. Namespace Drupal\Core\Config Code public function setName($name) { $this->name = $name; return $this; }

FormState::$response

Used when a form needs to return some kind of a \Symfony\Component\HttpFoundation\Response object, e.g., a \Symfony\Component\HttpFoundation\BinaryFileResponse when triggering a file download. If you use self::setRedirect() or self::setRedirectUrl(), it will be used to build a \Symfony\Component\HttpFoundation\RedirectResponse and will populate this key. Type: \Symfony\Component\HttpFoundation\Response|null File core/lib/Drupal/Core/Form/FormState.php, line 128 Class FormState Stores infor

Registry::setCache

protected Registry::setCache() Persists the theme registry in the cache backend. File core/lib/Drupal/Core/Theme/Registry.php, line 250 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected function setCache() { $this->cache->set('theme_registry:' . $this->theme->getName(), $this->registry[$this->theme->getName()], Cache::PERMANENT, array('theme_registry')); }

file_unmanaged_save_data

file_unmanaged_save_data($data, $destination = NULL, $replace = FILE_EXISTS_RENAME) Saves a file to the specified destination without invoking file API. This function is identical to file_save_data() except the file will not be saved to the {file_managed} table and none of the file_* hooks will be called. Parameters $data: A string containing the contents of the file. $destination: A string containing the destination location. This must be a stream wrapper URI. If no value is provided, a rando