file_create_filename

file_create_filename($basename, $directory) Creates a full file path from a directory and filename. If a file with the specified name already exists, an alternative will be used. Parameters $basename: String filename $directory: String containing the directory or parent URI. Return value File path consisting of $directory and a unique filename based off of $basename. Related topics File interface Common file handling functions. File core/includes/file.inc, line 759 API for handling file upl

GeneratedLink::jsonSerialize

public GeneratedLink::jsonSerialize() File core/lib/Drupal/Core/GeneratedLink.php, line 61 Class GeneratedLink Used to return generated links, along with associated cacheability metadata. Namespace Drupal\Core Code public function jsonSerialize() { return $this->__toString(); }

BreakpointManager::$defaults

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. Type: array Overrides DefaultPluginManager::$defaults File core/modules/breakpoint/src/BreakpointManager.php, line 53 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $defaults = array( // Human readable label for breakpoint. 'label' => '', // The

TermStorage::$treeTerms

Array of terms in a tree keyed by vocabulary ID and term ID. Type: array File core/modules/taxonomy/src/TermStorage.php, line 53 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code protected $treeTerms = array();

DateFormatter

Provides a service to handle various date related functionality. Hierarchy class \Drupal\Core\Datetime\DateFormatter implements DateFormatterInterface uses StringTranslationTrait Related topics Internationalization Internationalization and translation File core/lib/Drupal/Core/Datetime/DateFormatter.php, line 18 Namespace Drupal\Core\Datetime Members Name Modifiers Type Description DateFormatter::$configFactory protected property The configuration factory. DateFormat

ConfigImportForm::submitForm

public ConfigImportForm::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 FormInterface::submitForm File core/modules/config/src/Form/ConfigImportForm.php, line 91 Class ConfigImportForm Defines the configuration import form. Namespace Drupal\config\Form Code public function su

ConfigEntityStorage::$uuidKey

Name of entity's UUID database table field, if it supports UUIDs. Has the value FALSE if this entity does not use UUIDs. Type: string Overrides EntityStorageBase::$uuidKey File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 55 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected $uuidKey = 'uuid';

FieldConfigListBuilder::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/field_ui/src/FieldConfigListBuilder.php, line 39 Class FieldConfigListBuilder Provides lists of field config entities. Namespace Drupal\field_ui Code protected $entityManager;

ViewDuplicateForm::form

public ViewDuplicateForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/views_ui/src/ViewDuplicateForm.php, line 22 Class ViewDuplicateForm Form controller for the Views duplicate form. Namespace Drupal\views_ui Code public function form(array $form, FormStateInterface $form_state) { parent::form(

ConfigEntityBase::$trustedData

Trust supplied data and not use configuration schema on save. Type: bool File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 107 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected $trustedData = FALSE;