PagerSelectExtender::$limit

The number of elements per page to allow. Type: int File core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php, line 31 Class PagerSelectExtender Query extender for pager queries. Namespace Drupal\Core\Database\Query Code protected $limit = 10;

ImageStyleInterface::getEffect

public ImageStyleInterface::getEffect($effect) Returns a specific image effect. Parameters string $effect: The image effect ID. Return value \Drupal\image\ImageEffectInterface The image effect object. File core/modules/image/src/ImageStyleInterface.php, line 166 Class ImageStyleInterface Provides an interface defining an image style entity. Namespace Drupal\image Code public function getEffect($effect);

PlaceholderGenerator::shouldAutomaticallyPlaceholder

public PlaceholderGenerator::shouldAutomaticallyPlaceholder(array $element) Whether the given render array should be automatically placeholdered. The render array should be placeholdered if its cacheability either has a cache context with too high cardinality, a cache tag with a too high invalidation rate, or a max-age that is too low. Either of these would make caching ineffective, and thus we choose to placeholder instead. Parameters array $element: The render array whose cacheability to ana

FieldItemInterface::onDependencyRemoval

public static FieldItemInterface::onDependencyRemoval(FieldDefinitionInterface $field_definition, array $dependencies) Informs the plugin that a dependency of the field will be deleted. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. array $dependencies: An array of dependencies that will be deleted keyed by dependency type. Dependency types are, for example, entity, module and theme. Return value bool TRUE if the field definition has been chang

FilterFormatListBuilder::$entitiesKey

The key to use for the form element containing the entities. Type: string Overrides DraggableListBuilder::$entitiesKey File core/modules/filter/src/FilterFormatListBuilder.php, line 23 Class FilterFormatListBuilder Defines a class to build a listing of filter format entities. Namespace Drupal\filter Code protected $entitiesKey = 'formats';

ParamConverterSubscriber

Event subscriber for registering parameter converters with routes. Hierarchy class \Drupal\Core\EventSubscriber\ParamConverterSubscriber implements EventSubscriberInterface File core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 13 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description ParamConverterSubscriber::$paramConverterManager protected property The parameter converter manager. ParamConverterSubscriber::getSubscribedEv

MapDataDefinition::getMainPropertyName

public MapDataDefinition::getMainPropertyName() Returns the name of the main property, if any. Some field items consist mainly of one main property, e.g. the value of a text field or the target_id of an entity reference. If the field item has no main property, the method returns NULL. Return value string|null The name of the value property, or NULL if there is none. Overrides ComplexDataDefinitionBase::getMainPropertyName File core/lib/Drupal/Core/TypedData/MapDataDefinition.php, line 70

LocalActionDefault::getCacheTags

public LocalActionDefault::getCacheTags() The cache tags associated with this object. When this object is modified, these cache tags will be invalidated. Return value string[] A set of cache tags. Overrides CacheableDependencyInterface::getCacheTags File core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 125 Class LocalActionDefault Provides a default implementation for local action plugins. Namespace Drupal\Core\Menu Code public function getCacheTags() { if (!isset($this->pl

search_form_search_block_form_alter

search_form_search_block_form_alter(&$form, FormStateInterface $form_state) Implements hook_form_FORM_ID_alter() for the search_block_form form. Since the exposed form is a GET form, we don't want it to send the form tokens. However, you cannot make this happen in the form builder function itself, because the tokens are added to the form after the builder function is called. So, we have to do it in a form_alter. See also \Drupal\search\Form\SearchBlockForm File core/modules/search/search.m

PhpStreamWrapperInterface::stream_metadata

public PhpStreamWrapperInterface::stream_metadata($path, $option, $value) Sets metadata on the stream. Parameters string $path: A string containing the URI to the file to set metadata on. int $option: One of: STREAM_META_TOUCH: The method was called in response to touch(). STREAM_META_OWNER_NAME: The method was called in response to chown() with string parameter. STREAM_META_OWNER: The method was called in response to chown(). STREAM_META_GROUP_NAME: The method was called in response to ch