MapDataDefinition::getMainPropertyName

public MapDataDefinition::getMainPropertyName() Returns the name of the main property, if any. Some field items consist mainly of one main property, e.g. the value of a text field or the target_id of an entity reference. If the field item has no main property, the method returns NULL. Return value string|null The name of the value property, or NULL if there is none. Overrides ComplexDataDefinitionBase::getMainPropertyName File core/lib/Drupal/Core/TypedData/MapDataDefinition.php, line 70

Node::getRevisionAuthor

public Node::getRevisionAuthor() Gets the node revision author. Return value \Drupal\user\UserInterface The user entity for the revision author. Overrides NodeInterface::getRevisionAuthor Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead. File core/modules/node/src/Entity/Node.php, line 308 Class Node Defines the node entity class. Namespace Drupal\node\Entity Code public function getRevisionAuth

SqlContentEntityStorageSchema::deleteFieldSchemaData

protected SqlContentEntityStorageSchema::deleteFieldSchemaData(FieldStorageDefinitionInterface $storage_definition) Deletes schema data for the given field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 831 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace

drupal_get_schema_versions

drupal_get_schema_versions($module) Returns an array of available schema versions for a module. Parameters string $module: A module name. Return value array|bool If the module has updates, an array of available updates sorted by version. Otherwise, FALSE. Related topics Schema API API to handle database schemas. File core/includes/schema.inc, line 28 Schema API handling functions. Code function drupal_get_schema_versions($module) { $updates = &drupal_static(__FUNCTION__, NULL); if

PlainTextOutput::renderFromHtml

public static PlainTextOutput::renderFromHtml($string) Transforms a given HTML string into to a context-appropriate output string. This transformation consists of performing the formatting appropriate to a given output context (e.g., plain-text email subjects, HTML attribute values). Parameters string|object $string: An HTML string or an object with a ::__toString() magic method returning HTML markup. The source HTML markup is considered ready for output into HTML fragments and thus already pr

AssetResolver::$themeManager

The theme manager. Type: \Drupal\Core\Theme\ThemeManagerInterface File core/lib/Drupal/Core/Asset/AssetResolver.php, line 43 Class AssetResolver The default asset resolver. Namespace Drupal\Core\Asset Code protected $themeManager;

_user_cancel

_user_cancel($edit, $account, $method) Implements callback_batch_operation(). Last step for cancelling a user account. Since batch and session API require a valid user account, the actual cancellation of a user account needs to happen last. Parameters array $edit: An array of submitted form values. \Drupal\user\UserInterface $account: The user ID of the user account to cancel. string $method: The account cancellation method to use. See also user_cancel() File core/modules/user/user.module, li

Menu

Defines the Menu configuration entity class. Plugin annotation @ConfigEntityType( id = "menu", label = @Translation("Menu"), handlers = { "access" = "Drupal\system\MenuAccessControlHandler" }, admin_permission = "administer menu", entity_keys = { "id" = "id", "label" = "label" }, config_export = { "id", "label", "description", "locked", } ) Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait,

ViewsData

Class to manage and lazy load cached views data. If a table is requested and cannot be loaded from cache, all data is then requested from cache. A table-specific cache entry will then be created for the requested table based on this cached data. Table data is only rebuilt when no cache entry for all table data can be retrieved. Hierarchy class \Drupal\views\ViewsData File core/modules/views/src/ViewsData.php, line 20 Namespace Drupal\views Members Name Modifiers Type Description

Link::getInfo

public Link::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/Render/Element/Link.php, line 34 Class Link Provides a link render element. Namespace Drupal\Core\Render\Element Code public function getInfo() { $c