SqlContentEntityStorage::storageDefinitionIsDeleted

protected SqlContentEntityStorage::storageDefinitionIsDeleted(FieldStorageDefinitionInterface $storage_definition) Determines whether the passed field has been already deleted. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. Return value bool Whether the field has been already deleted. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1689 Class SqlContentEntityStorage A content entity database storage

file_managed_file_save_upload

file_managed_file_save_upload($element, FormStateInterface $form_state) Saves any files that have been uploaded into a managed_file element. Parameters array $element: The FAPI element whose values are being saved. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array|false An array of file entities for each file that was saved, keyed by its file ID. Each array element contains a file entity. Function returns FALSE if upload directory could not be

ViewUI::getExecutable

public ViewUI::getExecutable() Gets an executable instance for this view. Return value \Drupal\views\ViewExecutable A view executable instance. Overrides ViewEntityInterface::getExecutable File core/modules/views_ui/src/ViewUI.php, line 1135 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getExecutable() { return $this->storage->getExecutable(); }

MessageForm::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/contact/src/MessageForm.php, line 51 Class MessageForm Form controller for contact message forms. Namespace Drupal\contact Code protected $dateFormatter;

CommentViewBuilder::getBuildDefaults

protected CommentViewBuilder::getBuildDefaults(EntityInterface $entity, $view_mode) Provides entity-specific defaults to the build process. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which the defaults should be provided. string $view_mode: The view mode that should be used. Return value array Overrides EntityViewBuilder::getBuildDefaults File core/modules/comment/src/CommentViewBuilder.php, line 58 Class CommentViewBuilder View builder handler for comments.

Datelist::getInfo

public Datelist::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Datetime/Element/Datelist.php, line 20 Class Datelist Provides a datelist element. Namespace Drupal\Core\Datetime\Element Code public function get

RestResource::$id

The resource plugin ID. Type: string File core/modules/rest/src/Annotation/RestResource.php, line 30 Class RestResource Defines a REST resource annotation object. Namespace Drupal\rest\Annotation Code public $id;

install_begin_request

install_begin_request($class_loader, &$install_state) Begins an installation request, modifying the installation state as needed. This function performs commands that must run at the beginning of every page request. It throws an exception if the installation should not proceed. Parameters $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader. $install_state: An ar

tracker_comment_delete

tracker_comment_delete(CommentInterface $comment) Implements hook_ENTITY_TYPE_delete() for comment entities. File core/modules/tracker/tracker.module, line 226 Tracks recent content posted by a user or users. Code function tracker_comment_delete(CommentInterface $comment) { if ($comment->getCommentedEntityTypeId() == 'node') { _tracker_remove($comment->getCommentedEntityId(), $comment->getOwnerId(), $comment->getChangedTime()); } }

LocalStream::stream_cast

public LocalStream::stream_cast($cast_as) Retrieve the underlying stream resource. This method is called in response to stream_select(). Parameters int $cast_as: Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses. Return value resource|false The underlying stream resource or FALSE if stream_select() is not supported. Overrides PhpStreamWrapperInterface::stream_cast See also stream_select() http://ph