EntityConfirmFormBase::getConfirmText

public EntityConfirmFormBase::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormInterface::getConfirmText File core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 33 Class EntityConfirmFormBase Provides a generic base class for an entity-based confirmation form. Namespace Drupal\Core\Entity Code public function getConfirmText() { return $this->t('Confirm'); }

FilterFormat::$filterCollection

Holds the collection of filters that are attached to this format. Type: \Drupal\filter\FilterPluginCollection File core/modules/filter/src/Entity/FilterFormat.php, line 122 Class FilterFormat Represents a text format. Namespace Drupal\filter\Entity Code protected $filterCollection;

EntityDisplayInterface::getMode

public EntityDisplayInterface::getMode() Gets the view or form mode to be displayed. Return value string The mode to be displayed. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 103 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getMode();

SettingsCommand

AJAX command for adjusting Drupal's JavaScript settings. The 'settings' command instructs the client either to use the given array as the settings for ajax-loaded content or to extend drupalSettings with the given array, depending on the value of the $merge parameter. This command is implemented by Drupal.AjaxCommands.prototype.settings() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\SettingsCommand implements CommandInterface Related topics Ajax API Overview for Drupal's Ajax A

NodeRevisionRevertForm

Provides a form for reverting a node revision. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\node\Form\NodeRevisionRevertForm File core/modules/node/src/Form/NodeRevisionRevertForm.php, line 16 Namespace Drupal\n

Pager

Provides a render element for a pager. The pager must be initialized with a call to pager_default_initialize() in order to render properly. When used with database queries, this is performed for you when you extend a select query with \Drupal\Core\Database\Query\PagerSelectExtender. Properties: #element: (optional, int) The pager ID, to distinguish between multiple pagers on the same page (defaults to 0). #parameters: (optional) An associative array of query string parameters to append to the

CommentInterface::NOT_PUBLISHED

Comment is awaiting approval. File core/modules/comment/src/CommentInterface.php, line 17 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code const NOT_PUBLISHED = 0;

CSS_STATE

The default weight for CSS rules that style states and are not included with components. File core/includes/common.inc, line 99 Common functions that many Drupal modules will need to reference. Code const CSS_STATE = 100;

PhpTransliteration

Implements transliteration without using the PECL extensions. Transliterations are done character-by-character, by looking up non-US-ASCII characters in a transliteration database. The database comes from two types of files, both of which are searched for in the PhpTransliteration::$dataDirectory directory. First, language-specific overrides are searched (see PhpTransliteration::readLanguageOverrides()). If there is no language-specific override for a character, the generic transliteration char

Schema::fieldSetDefault

public Schema::fieldSetDefault($table, $field, $default) Set the default value for a field. Parameters $table: The table to be altered. $field: The field to be altered. $default: Default value to be set. NULL for 'default NULL'. Throws \Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table or field doesn't exist. Overrides Schema::fieldSetDefault File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 434 Class Schema MySQL implementation of \Drupal\Core\