taxonomy_term_view_multiple

taxonomy_term_view_multiple(array $terms, $view_mode = 'full', $langcode = NULL) Constructs a drupal_render() style array from an array of loaded terms. Parameters array $terms: An array of taxonomy terms as returned by Term::loadMultiple(). string $view_mode: View mode; e.g., 'full', 'teaser', etc. string $langcode: (optional) A language code to use for rendering. Defaults to the global content language of the current request. Return value array An array in the format expected by drupal_rend

FieldItemDataDefinition::getFieldDefinition

public FieldItemDataDefinition::getFieldDefinition() Gets the field item's field definition. Return value \Drupal\Core\Field\FieldDefinitionInterface The field definition for this field item. File core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php, line 82 Class FieldItemDataDefinition A typed data definition class for defining field items. Namespace Drupal\Core\Field\TypedData Code public function getFieldDefinition() { return $this->fieldDefinition; }

LocalActionDefault::$routeProvider

The route provider to load routes by name. Type: \Drupal\Core\Routing\RouteProviderInterface File core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 27 Class LocalActionDefault Provides a default implementation for local action plugins. Namespace Drupal\Core\Menu Code protected $routeProvider;

forum_form_taxonomy_term_form_alter

forum_form_taxonomy_term_form_alter(&$form, FormStateInterface $form_state, $form_id) Implements hook_form_FORM_ID_alter() for \Drupal\taxonomy\TermForm. File core/modules/forum/forum.module, line 310 Provides discussion forums. Code function forum_form_taxonomy_term_form_alter(&$form, FormStateInterface $form_state, $form_id) { $vid = \Drupal::config('forum.settings')->get('vocabulary'); if (isset($form['vid']['#value']) && $form['vid']['#value'] == $vid) { // Hide

MenuTreeParameters::$expandedParents

An array of parent link IDs. This restricts the tree to only menu links that are at the top level or have a parent ID in this list. If empty, the whole menu tree is built. Type: string[] File core/lib/Drupal/Core/Menu/MenuTreeParameters.php, line 53 Class MenuTreeParameters Provides a value object to model menu tree parameters. Namespace Drupal\Core\Menu Code public $expandedParents = array();

SiteConfigureForm::getEditableConfigNames

protected SiteConfigureForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 109 Class SiteConfigureForm Provides the site configuration form. Namespace Drupal\Core\Installer\Form Code protected functio

SiteConfigureForm::getFormId

public SiteConfigureForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 102 Class SiteConfigureForm Provides the site configuration form. Namespace Drupal\Core\Installer\Form Code public function getFormId() { return 'install_configure_form'; }

SiteConfigureForm::submitForm

public SiteConfigureForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 259 Class SiteConfigureForm Provides the site configuration form. Namespace Drupal\Core\Installer\Form Code

RestResourceConfigInterface::RESOURCE_GRANULARITY

Granularity value for per-resource configuration. File core/modules/rest/src/RestResourceConfigInterface.php, line 21 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code const RESOURCE_GRANULARITY = 'resource';

DataReferenceTargetDefinition::getConstraints

public DataReferenceTargetDefinition::getConstraints() Returns an array of validation constraints. The validation constraints of a definition consist of any for it defined constraints and default constraints, which are generated based on the definition and its data type. See \Drupal\Core\TypedData\TypedDataManager::getDefaultConstraints(). Constraints are defined via an array, having constraint plugin IDs as key and constraint options as values, e.g. $constraints = array( 'Range' => array(