DbUpdateController::create

public static DbUpdateController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servi

SearchBlockForm::$searchPageRepository

The search page repository. Type: \Drupal\search\SearchPageRepositoryInterface File core/modules/search/src/Form/SearchBlockForm.php, line 22 Class SearchBlockForm Builds the search form for the search block. Namespace Drupal\search\Form Code protected $searchPageRepository;

Url::fromInternalUri

protected static Url::fromInternalUri(array $uri_parts, array $options) Creates a new Url object for 'internal:' URIs. Important note: the URI minus the scheme can NOT simply be validated by a \Drupal\Core\Path\PathValidatorInterface implementation. The semantics of the 'internal:' URI scheme are different: PathValidatorInterface accepts paths without a leading slash (e.g. 'node/add') as well as 2 special paths: '<front>' and '<none>', which are mapped to the correspondingly named r

SelectionWithAutocreateInterface

Interface for Selection plugins that support newly created entities. Hierarchy interface \Drupal\Core\Entity\EntityReferenceSelection\SelectionWithAutocreateInterface See also \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager \Drupal\Core\Entity\Annotation\EntityReferenceSelection Plugin API File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php, line 12 Namespace Drupal\Core\Entity\EntityReferenceSelection Members Name Modi

StorageReplaceDataWrapper::encode

public StorageReplaceDataWrapper::encode($data) Encodes configuration data into the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters array $data: The configuration data to encode. Return value string The encoded configuration data. Overrides StorageInterface::encode File core/modules/config/src/StorageReplaceDataWrapper.php, line 114 Class StorageReplaceDataWrapper Wraps a configurat

_filter_autop

_filter_autop($text) Converts line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 693 Framework for handling the filtering of content. Code function _filter_autop($text) { // All block level tags $block = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|option|form|ma

SearchPage::$path

The path this search page will appear upon. This value is appended to 'search/' when building the path. Type: string File core/modules/search/src/Entity/SearchPage.php, line 92 Class SearchPage Defines a configured search page. Namespace Drupal\search\Entity Code protected $path;

PhpassHashedPassword

Secure password hashing functions based on the Portable PHP password hashing framework. Hierarchy class \Drupal\Core\Password\PhpassHashedPassword implements PasswordInterface See also http://www.openwall.com/phpass/ File core/lib/Drupal/Core/Password/PhpassHashedPassword.php, line 13 Namespace Drupal\Core\Password Members Name Modifiers Type Description PasswordInterface::PASSWORD_MAX_LENGTH constant Maximum password length. PhpassHashedPassword::$countLog2 protect

UserCancelForm::submitForm

public UserCancelForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless th

QuickEditFieldForm::$tempStoreFactory

Stores the tempstore factory. Type: \Drupal\user\PrivateTempStoreFactory File core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 27 Class QuickEditFieldForm Builds and process a form for editing a single entity field. Namespace Drupal\quickedit\Form Code protected $tempStoreFactory;