ContentEntityType

Defines a content entity type annotation object. Content Entity type plugins use an object-based annotation method, rather than an array-type annotation method (as commonly used on other annotation types). The annotation properties of content entity types are found on \Drupal\Core\Entity\ContentEntityType and are accessed using get/set methods defined in \Drupal\Core\Entity\ContentEntityTypeInterface. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupa

BubbleableMetadata

Value object used for bubbleable rendering metadata. Hierarchy class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTrait See also \Drupal\Core\Render\RendererInterface::render() File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 13 Namespace Drupal\Core\Render Members Name Modifiers Type Descriptio

Condition::exists

public Condition::exists($field, $langcode = NULL) Queries for the existence of a field. Parameters $field: string $langcode: Return value ConditionInterface Overrides ConditionInterface::exists See also \Drupal\Core\Entity\Query\QueryInterface::exists() File core/lib/Drupal/Core/Entity/Query/Null/Condition.php, line 21 Class Condition Defines the condition class for the null entity query. Namespace Drupal\Core\Entity\Query\Null Code public function exists($field, $langcode = NULL)

EditForm::getFormId

public EditForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/path/src/Form/EditForm.php, line 16 Class EditForm Provides the path edit form. Namespace Drupal\path\Form Code public function getFormId() { return 'path_admin_edit'; }

install.inc

API functions for installing modules and themes. File core/includes/install.inc Functions Name Description db_installer_object Returns a database installer object. drupal_check_module Checks a module's requirements. drupal_check_profile Checks an installation profile's requirements. drupal_current_script_url Returns the URL of the current script, with modified query parameters. drupal_detect_database_types Detects all supported databases that are compiled into PHP. d

unicode_requirements

unicode_requirements() Returns Unicode library status and errors. File core/includes/unicode.inc, line 13 Provides Unicode-related conversions and operations. Code function unicode_requirements() { $libraries = array( Unicode::STATUS_SINGLEBYTE => t('Standard PHP'), Unicode::STATUS_MULTIBYTE => t('PHP Mbstring Extension'), Unicode::STATUS_ERROR => t('Error'), ); $severities = array( Unicode::STATUS_SINGLEBYTE => REQUIREMENT_WARNING, Unicode::STATUS_MULTIB

UpdateManagerUpdate::getFormId

public UpdateManagerUpdate::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/update/src/Form/UpdateManagerUpdate.php, line 47 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_update_form'; }

BlockContentViewsData

Provides the views data for the block_content entity type. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTraitclass \Drupal\block_content\BlockContentViewsData File core/modules/block_content/src/BlockContentViewsData.php, line 10 Namespace Drupal\block_content Members Name Modifiers Type Description BlockContentViewsData::getViewsData public function Returns views data for the entity type

ThemeInitializationInterface::loadActiveTheme

public ThemeInitializationInterface::loadActiveTheme(ActiveTheme $active_theme) Loads a theme, so it is ready to be used. Loading a theme includes loading and initializing the engine, each base theme and its engines. Parameters \Drupal\Core\Theme\ActiveTheme $active_theme: The theme to load. File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 47 Class ThemeInitializationInterface Defines an interface which contain theme initialization logic. Namespace Drupal\Core\The

node_type_get_names

node_type_get_names() Returns a list of available node type names. This list can include types that are queued for addition or deletion. Return value string[] An array of node type labels, keyed by the node type name. File core/modules/node/node.module, line 259 The core module that allows content to be submitted to the site. Code function node_type_get_names() { return array_map(function($bundle_info) { return $bundle_info['label']; }, \Drupal::entityManager()->getBundleInfo('nod