MenuActiveTrailsCacheContext::getContext

public MenuActiveTrailsCacheContext::getContext($menu_name = NULL) Returns the string representation of the cache context. A cache context service's name is used as a token (placeholder) cache key, and is then replaced with the string returned by this method. Parameters string|null $parameter: The parameter, or NULL to indicate all possible parameter values. Return value string The string representation of the cache context. When $parameter is NULL, a value representing all possible parameter

views_views_pre_render

views_views_pre_render($view) Implements hook_views_pre_render(). File core/modules/views/views.module, line 53 Primarily Drupal hooks and global API functions to manipulate views. Code function views_views_pre_render($view) { // If using AJAX, send identifying data about this view. if ($view->ajaxEnabled() && empty($view->is_attachment) && empty($view->live_preview)) { $view->element['#attached']['drupalSettings']['views'] = array( 'ajax_path' =>

AnnotationInterface::getId

public AnnotationInterface::getId() Gets the unique ID for this annotated class. Return value string File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 34 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function getId();

db_change_field

db_change_field($table, $field, $field_new, $spec, $keys_new = array()) Changes a field definition. IMPORTANT NOTE: To maintain database portability, you have to explicitly recreate all indices and primary keys that are using the changed field. That means that you have to drop all affected keys and indexes with db_drop_{primary_key,unique_key,index}() before calling db_change_field(). To recreate the keys and indices, pass the key definitions as the optional $keys_new argument directly to db_ch

ImageToolkitOperationBase::getToolkit

protected ImageToolkitOperationBase::getToolkit() Returns the image toolkit instance for this operation. Image toolkit implementers should provide a toolkit operation base class that overrides this method to correctly document the return type of this getter. This provides better DX (code checking and code completion) for image toolkit operation developers. Return value \Drupal\Core\ImageToolkit\ImageToolkitInterface File core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php, line 63

SelectInterface::escapeLike

public SelectInterface::escapeLike($string) Escapes characters that work as wildcard characters in a LIKE pattern. Parameters $string: The string to escape. Return value string The escaped string. See also \Drupal\Core\Database\Connection::escapeLike() File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 136 Class SelectInterface Interface definition for a Select Query object. Namespace Drupal\Core\Database\Query Code public function escapeLike($string);

ContactForm::$redirect

The path to redirect to on form submission. Type: string File core/modules/contact/src/Entity/ContactForm.php, line 83 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $redirect;

ContentEntityDeleteForm::buildForm

public ContentEntityDeleteForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ContentEntityConfirmFormBase::buildForm File core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php, line 25 Class ContentEntityDeleteForm Provides a generic base class for

Fieldgroup

Provides a render element for a group of form elements. In default rendering, the only difference between a 'fieldgroup' and a 'fieldset' is the CSS class applied to the containing HTML element. Normally use a fieldset. Plugin annotation @RenderElement("fieldgroup") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core

QueryBase::groupBy

public QueryBase::groupBy($field, $langcode = NULL) File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 424 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code public function groupBy($field, $langcode = NULL) { $this->groupBy[] = array( 'field' => $field, 'langcode' => $langcode, ); return $this; }