ImageEffectBase::defaultConfiguration

public ImageEffectBase::defaultConfiguration() Gets default configuration for this plugin. Return value array An associative array with the default configuration. Overrides ConfigurablePluginInterface::defaultConfiguration File core/modules/image/src/ImageEffectBase.php, line 157 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function defaultConfiguration() { return array(); }

RfcLoggerTrait::debug

public RfcLoggerTrait::debug($message, array $context = array()) Detailed debug information. Parameters string $message: array $context: Return value null Overrides LoggerInterface::debug File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 69 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Code public function debug($message, array $context = array()) { $this->log(RfcLogLevel::DEBUG, $message, $conte

SwitchShortcutSet::getFormId

public SwitchShortcutSet::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 53 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public function getFormId() { return 'shortcut_set_switch'; }

ImageStyle::getEffects

public ImageStyle::getEffects() Returns the image effects for this style. Return value \Drupal\image\ImageEffectPluginCollection|\Drupal\image\ImageEffectInterface[] The image effect plugin collection. Overrides ImageStyleInterface::getEffects File core/modules/image/src/Entity/ImageStyle.php, line 353 Class ImageStyle Defines an image style configuration entity. Namespace Drupal\image\Entity Code public function getEffects() { if (!$this->effectsCollection) { $this->effec

hook_user_cancel_methods_alter

hook_user_cancel_methods_alter(&$methods) Modify account cancellation methods. By implementing this hook, modules are able to add, customize, or remove account cancellation methods. All defined methods are turned into radio button form elements by user_cancel_methods() after this hook is invoked. The following properties can be defined for each method: title: The radio button's title. description: (optional) A description to display on the confirmation form if the user is not allowed to s

StorageComparer::addChangelistCreate

protected StorageComparer::addChangelistCreate($collection) Creates the create changelist. The list of creates is sorted so that dependencies are created before configuration entities that depend on them. For example, field storages should be created before fields. Parameters string $collection: The storage collection to operate on. File core/lib/Drupal/Core/Config/StorageComparer.php, line 241 Class StorageComparer Defines a config storage comparer. Namespace Drupal\Core\Config Code

Number::validStep

public static Number::validStep($value, $step, $offset = 0.0) Verifies that a number is a multiple of a given step. The implementation assumes it is dealing with IEEE 754 double precision floating point numbers that are used by PHP on most systems. This is based on the number/range verification methods of webkit. Parameters float $value: The value that needs to be checked. float $step: The step scale factor. Must be positive. float $offset: (optional) An offset, to which the difference must be

Breadcrumb::getLinks

public Breadcrumb::getLinks() Gets the breadcrumb links. Return value \Drupal\Core\Link[] File core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php, line 29 Class Breadcrumb Used to return generated breadcrumbs with associated cacheability metadata. Namespace Drupal\Core\Breadcrumb Code public function getLinks() { return $this->links; }

EntityRouteProviderSubscriber::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php, line 21 Class EntityRouteProviderSubscriber Ensures that routes can be provided by entity types. Namespace Drupal\Core\EventSubscriber Code protected $entityManager;

AdminRouteSubscriber

Adds the _admin_route option to each admin route. Hierarchy class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterfaceclass \Drupal\system\EventSubscriber\AdminRouteSubscriber File core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php, line 12 Namespace Drupal\system\EventSubscriber Members Name Modifiers Type Description AdminRouteSubscriber::alterRoutes protected function Alters existing routes for a specific collection. Overrides Ro