ConfigTranslationController::$accessManager

The menu link access service. Type: \Drupal\Core\Access\AccessManagerInterface File core/modules/config_translation/src/Controller/ConfigTranslationController.php, line 39 Class ConfigTranslationController Provides page callbacks for the configuration translation interface. Namespace Drupal\config_translation\Controller Code protected $accessManager;

Registry::$lock

The lock backend that should be used. Type: \Drupal\Core\Lock\LockBackendInterface File core/lib/Drupal/Core/Theme/Registry.php, line 39 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected $lock;

Image::scaleDimensions

public static Image::scaleDimensions(array &$dimensions, $width = NULL, $height = NULL, $upscale = FALSE) Scales image dimensions while maintaining aspect ratio. The resulting dimensions can be smaller for one or both target dimensions. Parameters array $dimensions: Dimensions to be modified - an array with components width and height, in pixels. int $width: (optional) The target width, in pixels. If this value is NULL then the scaling will be based only on the height value. int $height: (

FieldItemList::defaultValuesFormSubmit

public FieldItemList::defaultValuesFormSubmit(array $element, array &$form, FormStateInterface $form_state) Processes the submitted default value. Invoked from \Drupal\field_ui\Form\FieldConfigEditForm to allow administrators to configure instance-level default value. Parameters array $element: The default value form element. array $form: The form where the settings form is being included in. \Drupal\Core\Form\FormStateInterface $form_state: The form state of the (entire) configuration for

VocabularyDeleteForm::getQuestion

public VocabularyDeleteForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides EntityDeleteFormTrait::getQuestion File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 22 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function getQuestion() { return $this->t('Are you sure you want to delete

FieldStorageConfig::getCardinality

public FieldStorageConfig::getCardinality() Returns the maximum number of items allowed for the field. Possible values are positive integers or FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED. Return value int The field cardinality. Overrides FieldStorageDefinitionInterface::getCardinality File core/modules/field/src/Entity/FieldStorageConfig.php, line 629 Class FieldStorageConfig Defines the Field storage configuration entity. Namespace Drupal\field\Entity Code public function

FilterFormatListBuilder::getDefaultOperations

public FilterFormatListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/filter/src/FilterFormatListBuilder.php, line 122 Class FilterFormatListBuilder Defines a class to build a listing

AuthenticationCollector::getProvider

public AuthenticationCollector::getProvider($provider_id) Returns an authentication provider. Parameters string $provider_id: The provider ID. Return value \Drupal\Core\Authentication\AuthenticationProviderInterface|null The authentication provider which matches the ID. Overrides AuthenticationCollectorInterface::getProvider File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 62 Class AuthenticationCollector A collector class for authentication providers. Namespa

FieldStorageConfigStorage::__construct

public FieldStorageConfigStorage::__construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, StateInterface $state, FieldTypePluginManagerInterface $field_type_manager) Constructs a FieldStorageConfigStorage object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\C

ViewExecutable::save

public ViewExecutable::save() Saves the view. File core/modules/views/src/ViewExecutable.php, line 473 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function save() { $this->storage->save(); }