EntityDisplayFormBase::getRowRegion

public EntityDisplayFormBase::getRowRegion($row) Returns the region to which a row in the display overview belongs. Parameters array $row: The row element. Return value string|null The region name this row belongs to. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 812 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code public function getRowRegion($row) { switch ($row['#row_type']) { case 'field': cas

comment_preview

comment_preview(CommentInterface $comment, FormStateInterface $form_state) Generates a comment preview. Parameters \Drupal\comment\CommentInterface $comment: The comment entity to preview. Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array An array as expected by drupal_render(). File core/modules/comment/comment.module, line 561 Enables users to comment on published content. Code function comment_preview(CommentInterface $comment, FormStateIn

Link::$text

The text of the link. Type: string File core/lib/Drupal/Core/Link.php, line 23 Class Link Defines an object that holds information about a link. Namespace Drupal\Core Code protected $text;

Action::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Annotation/Action.php, line 28 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $id;

Connection::sqlFunctionConcatWs

public static Connection::sqlFunctionConcatWs() SQLite compatibility implementation for the CONCAT_WS() SQL function. See also http://dev.mysql.com/doc/refman/5.6/en/string-functions.html#function_co... File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 226 Class Connection SQLite implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\sqlite Code public static function sqlFunctionConcatWs() { $args = func_get_args(); $separator

SearchPageFormBase::$entity

The entity being used by this form. Type: \Drupal\search\SearchPageInterface Overrides EntityForm::$entity File core/modules/search/src/Form/SearchPageFormBase.php, line 22 Class SearchPageFormBase Provides a base form for search pages. Namespace Drupal\search\Form Code protected $entity;

ContentEntityDeleteForm::submitForm

public ContentEntityDeleteForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden

EntityDefinitionUpdateManager::uninstallEntityType

public EntityDefinitionUpdateManager::uninstallEntityType(EntityTypeInterface $entity_type) Uninstalls an entity type definition. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. Overrides EntityDefinitionUpdateManagerInterface::uninstallEntityType File core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 150 Class EntityDefinitionUpdateManager Manages entity definition updates. Namespace Drupal\Core\Entity Code public functio

ConfigSync::__construct

public ConfigSync::__construct(StorageInterface $sync_storage, StorageInterface $active_storage, StorageInterface $snapshot_storage, LockBackendInterface $lock, EventDispatcherInterface $event_dispatcher, ConfigManagerInterface $config_manager, TypedConfigManagerInterface $typed_config, ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, ThemeHandlerInterface $theme_handler, RendererInterface $renderer) Constructs the object. Parameters \Drupal\Core\Config\Stora

ElementInterface::setAttributes

public static ElementInterface::setAttributes(&$element, $class = array()) Sets a form element's class attribute. Adds 'required' and 'error' classes as needed. Parameters array $element: The form element. array $class: Array of new class names to be added. File core/lib/Drupal/Core/Render/Element/ElementInterface.php, line 50 Class ElementInterface Provides an interface for render element plugins. Namespace Drupal\Core\Render\Element Code public static function setAttributes(&