MissingContentEvent::$missingContent

A list of missing content dependencies. Type: array File core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php, line 19 Class MissingContentEvent Wraps a configuration event for event listeners. Namespace Drupal\Core\Config\Importer Code protected $missingContent;

UpdateManagerInstall::getFormId

public UpdateManagerInstall::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/UpdateManagerInstall.php, line 58 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_install_form'; }

menu_ui_get_menu_link_defaults

menu_ui_get_menu_link_defaults(NodeInterface $node) Returns the definition for a menu link for the given node. Parameters \Drupal\node\NodeInterface $node: The node entity. Return value array An array that contains default values for the menu link form. File core/modules/menu_ui/menu_ui.module, line 193 Allows administrators to customize the site's navigation menus. Code function menu_ui_get_menu_link_defaults(NodeInterface $node) { // Prepare the definition for the edit form. /** @var

EntityRevisionParamConverter

Parameter converter for upcasting entity revision IDs to full objects. This is useful for pages which want to show a specific revision, like "/entity_example/{entity_example}/revision/{entity_example_revision}". In order to use it you should specify some additional options in your route: example.route: path: /foo/{entity_example_revision} options: parameters: entity_example_revision: type: entity_revision:entity_example Hierarchy class \Drupal\Core\ParamConverter\EntityRe

NodeStorageInterface

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

NodeType::$preview_mode

The preview mode. Type: int File core/modules/node/src/Entity/NodeType.php, line 93 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $preview_mode = DRUPAL_OPTIONAL;

SearchPageForm::actions

protected SearchPageForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/search/src/Form/SearchPageForm.php, line 82 Class SearchPageForm Provides a search form for site wide search. Namespace Drupal\search\Form Code protected function actions(array $form, FormStateInterface $f

Form::getInfo

public Form::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/Form.php, line 15 Class Form Provides a render element for a form. Namespace Drupal\Core\Render\Element Code public function getInfo()

locale_translatable_language_list

locale_translatable_language_list() Returns list of translatable languages. Return value array Array of installed languages keyed by language name. English is omitted unless it is marked as translatable. File core/modules/locale/locale.module, line 251 Enables the translation of the user interface to languages other than English. Code function locale_translatable_language_list() { $languages = \Drupal::languageManager()->getLanguages(); if (!locale_is_translatable('en')) { unset($

SearchPageForm::form

public SearchPageForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/search/src/Form/SearchPageForm.php, line 37 Class SearchPageForm Provides a search form for site wide search. Namespace Drupal\search\Form Code public function form(array $form, FormStateInterface $form_state) { $plugin = $this-&