Textarea

Provides a form element for input of multiple-line text. Properties: #rows: Number of rows in the text box. #cols: Number of columns in the text box. #resizable: Controls whether the text area is resizable. Allowed values are "none", "vertical", "horizontal", or "both" (defaults to "vertical"). Usage example: $form['text'] = array( '#type' => 'textarea', '#title' => $this->t('Text'), ); Plugin annotation @FormElement("textarea") Hierarchy class \Drupal\Component\Plugin\Plugi

NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings

protected NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings() Retrieves the browser's langcode mapping configuration array. Return value array The browser's langcode mapping configuration array. File core/modules/language/src/Form/NegotiationBrowserForm.php, line 207 Class NegotiationBrowserForm Configure the browser language negotiation method for this site. Namespace Drupal\language\Form Code protected function language_get_browser_drupal_langcode_mappings() {

EntityViewDisplay::collectRenderDisplays

public static EntityViewDisplay::collectRenderDisplays($entities, $view_mode) Returns the display objects used to render a set of entities. Depending on the configuration of the view mode for each bundle, this can be either the display object associated with the view mode, or the 'default' display. This method should only be used internally when rendering an entity. When assigning suggested display options for a component in a given view mode, entity_get_display() should be used instead, in ord

PluralFormulaInterface::reset

public PluralFormulaInterface::reset() Resets the static formulae cache. Return value self The PluralFormula object. File core/modules/locale/src/PluralFormulaInterface.php, line 52 Class PluralFormulaInterface An interface for a service providing plural formulae. Namespace Drupal\locale Code public function reset();

FilteredMarkup

Defines an object that passes markup through the Filter system. This object should only be constructed with markup that is safe to render. If there is any risk that the string contains user-entered data that has not been filtered first, it must not be used. @internal This object is marked as internal because it should only be used in the Filter module on strings that have already been been filtered and sanitized in \Drupal\filter\Plugin\FilterInterface. Hierarchy class \Drupal\filter\Render\Fil

Tasks::name

abstract public Tasks::name() Return the human-readable name of the driver. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 113 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code abstract public function name();

ERROR_REPORTING_DISPLAY_SOME

Error reporting level: display errors and warnings. File core/includes/bootstrap.inc, line 43 Functions that need to be loaded on every Drupal request. Code const ERROR_REPORTING_DISPLAY_SOME = 'some';

ParamConverterManagerInterface::convert

public ParamConverterManagerInterface::convert(array $defaults) Invokes the registered converter for each defined parameter on a route. Parameters array $defaults: The route defaults array. Return value array The modified defaults. Throws \Drupal\Core\ParamConverter\ParamNotConvertedException If one of the assigned converters returned NULL because the given variable could not be converted. File core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php, line 59 Class ParamCon

ForumListingBreadcrumbBuilder::applies

public ForumListingBreadcrumbBuilder::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/modules/forum/src/Breadcrumb/ForumListingBreadcrumbBuilder.php, line 16 Class ForumListingBreadcrumbB

LoggerChannelFactory::$channels

Array of all instantiated logger channels keyed by channel name. Type: \Drupal\Core\Logger\LoggerChannelInterface[] File core/lib/Drupal/Core/Logger/LoggerChannelFactory.php, line 20 Class LoggerChannelFactory Defines a factory for logging channels. Namespace Drupal\Core\Logger Code protected $channels = array();