ViewsFormMainForm

Hierarchy class \Drupal\views\Form\ViewsFormMainForm implements FormInterface File core/modules/views/src/Form/ViewsFormMainForm.php, line 9 Namespace Drupal\views\Form Members Name Modifiers Type Description ViewsFormMainForm::buildForm public function Form constructor. Overrides FormInterface::buildForm ViewsFormMainForm::getFormId public function Returns a unique string identifying the form. Overrides FormInterface::getFormId ViewsFormMainForm::submitForm

field_ui_form_node_type_form_alter

field_ui_form_node_type_form_alter(&$form, FormStateInterface $form_state) Implements hook_form_FORM_ID_alter(). Adds a button 'Save and manage fields' to the 'Create content type' form. See also node_type_form() field_ui_form_node_type_form_submit() File core/modules/field_ui/field_ui.module, line 125 Allows administrators to attach custom fields to fieldable types. Code function field_ui_form_node_type_form_alter(&$form, FormStateInterface $form_state) { // We want to display the

NodeViewController::view

public NodeViewController::view(EntityInterface $node, $view_mode = 'full', $langcode = NULL) Provides a page to render a single entity. Parameters \Drupal\Core\Entity\EntityInterface $_entity: The Entity to be rendered. Note this variable is named $_entity rather than $entity to prevent collisions with other named placeholders in the route. string $view_mode: (optional) The view mode that should be used to display the entity. Defaults to 'full'. Return value array A render array as expected

EntityViewController

Defines a generic controller to render a single entity. Hierarchy class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterface File core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 15 Namespace Drupal\Core\Entity\Controller Members Name Modifiers Type Description EntityViewController::$entityManager protected property The entity manager EntityViewController::$renderer protected property The renderer service

NodeGrantDatabaseStorageInterface::checkAll

public NodeGrantDatabaseStorageInterface::checkAll(AccountInterface $account) Checks all grants for a given account. Parameters \Drupal\Core\Session\AccountInterface $account: A user object representing the user for whom the operation is to be performed. Return value int. Status of the access check. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 24 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node

Select::orderRandom

public Select::orderRandom() Orders the result set by a random value. This may be stacked with other orderBy() calls. If so, the query will order by each specified field, including this one, in the order called. Although this method may be called multiple times on the same query, doing so is not particularly useful. Note: The method used by most drivers may not scale to very large result sets. If you need to work with extremely large data sets, you may create your own database driver by subclas

Menu::$locked

The locked status of this menu. Type: bool File core/modules/system/src/Entity/Menu.php, line 58 Class Menu Defines the Menu configuration entity class. Namespace Drupal\system\Entity Code protected $locked = FALSE;

ContentEntityBase::getFieldDefinition

public ContentEntityBase::getFieldDefinition($name) Gets the definition of a contained field. Parameters string $name: The name of the field. Return value \Drupal\Core\Field\FieldDefinitionInterface|null The definition of the field or null if the field does not exist. Overrides FieldableEntityInterface::getFieldDefinition File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 552 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namesp

book-node-export-html.html.twig

Default theme implementation for a single node in a printer-friendly outline. Available variables: node: Fully loaded node. depth: Depth of the current node inside the outline. title: Node title. content: Node content. children: All the child nodes recursively rendered through this file. See also template_preprocess_book_node_export_html() File core/modules/book/templates/book-node-export-html.html.twig Related topics Theme system overview Functions and templates for the user interfa

ConfigMapperManager::hasTranslatable

public ConfigMapperManager::hasTranslatable($name) Returns TRUE if the configuration data has translatable items. Parameters string $name: Configuration key. Return value bool A boolean indicating if the configuration data has translatable items. Overrides ConfigMapperManagerInterface::hasTranslatable File core/modules/config_translation/src/ConfigMapperManager.php, line 168 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_transl