FieldStorageConfig::isBaseField

public FieldStorageConfig::isBaseField() Determines whether the field is a base field. Base fields are not specific to a given bundle or a set of bundles. This excludes configurable fields, as they are always attached to a specific bundle. Return value bool Whether the field is a base field. Overrides FieldStorageDefinitionInterface::isBaseField File core/modules/field/src/Entity/FieldStorageConfig.php, line 474 Class FieldStorageConfig Defines the Field storage configuration entity. Na

File::isPermanent

public File::isPermanent() Returns TRUE if the file is permanent. Return value bool TRUE if the file status is permanent. Overrides FileInterface::isPermanent File core/modules/file/src/Entity/File.php, line 145 Class File Defines the file entity class. Namespace Drupal\file\Entity Code public function isPermanent() { return $this->get('status')->value == FILE_STATUS_PERMANENT; }

Diff::$edits

The list of differences as an array of diff operations. Type: \Drupal\Component\Diff\Engine\DiffOp[] File core/lib/Drupal/Component/Diff/Diff.php, line 24 Class Diff Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code protected $edits;

drupal_get_filetransfer_info

drupal_get_filetransfer_info() Assembles the Drupal FileTransfer registry. Return value The Drupal FileTransfer class registry. See also \Drupal\Core\FileTransfer\FileTransfer hook_filetransfer_info() hook_filetransfer_info_alter() File core/includes/common.inc, line 1288 Common functions that many Drupal modules will need to reference. Code function drupal_get_filetransfer_info() { $info = &drupal_static(__FUNCTION__); if (!isset($info)) { $info = \Drupal::moduleHandler()->i

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

FileStorageInterface

Defines an interface for file entity storage classes. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Entity\ContentEntityStorageInterfaceinterface \Drupal\file\FileStorageInterface File core/modules/file/src/FileStorageInterface.php, line 10 Namespace Drupal\file Members Name Modifiers Type Description ContentEntityStorageInterface::createTranslation public function Constructs a new entity translation object, without permanently sa

PageDisplayVariantSelectionEvent::$contexts

An array of collected contexts to pass to the page display variant. Type: \Drupal\Component\Plugin\Context\ContextInterface[] File core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 52 Class PageDisplayVariantSelectionEvent Event fired when rendering main content, to select a page display variant. Namespace Drupal\Core\Render Code protected $contexts = [];

MailHandler::$mailManager

Mail manager service. Type: \Drupal\Core\Mail\MailManagerInterface File core/modules/contact/src/MailHandler.php, line 39 Class MailHandler Provides a class for handling assembly and dispatch of contact mail messages. Namespace Drupal\contact Code protected $mailManager;

ViewUI::standardSubmit

public ViewUI::standardSubmit($form, FormStateInterface $form_state) Basic submit handler applicable to all 'standard' forms. This submit handler determines whether the user wants the submitted changes to apply to the default display or to the current display, and dispatches control appropriately. File core/modules/views_ui/src/ViewUI.php, line 214 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function standardSubmit($form, FormStateInterface

AdminController::$formBuilder

The form builder. Type: \Drupal\Core\Form\FormBuilderInterface Overrides ControllerBase::$formBuilder File core/modules/comment/src/Controller/AdminController.php, line 20 Class AdminController Returns responses for comment module administrative routes. Namespace Drupal\comment\Controller Code protected $formBuilder;