DynamicPageCacheSubscriber::getSubscribedEvents

public static DynamicPageCacheSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $prior

AliasStorage::__construct

public AliasStorage::__construct(Connection $connection, ModuleHandlerInterface $module_handler) Constructs a Path CRUD object. Parameters \Drupal\Core\Database\Connection $connection: A database connection for reading and writing path aliases. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. File core/lib/Drupal/Core/Path/AliasStorage.php, line 48 Class AliasStorage Provides a class for CRUD operations on path aliases. Namespace Drupal\Core\Path Code

FormatterBase::view

public FormatterBase::view(FieldItemListInterface $items, $langcode = NULL) Builds a renderable array for a fully themed field. Parameters \Drupal\Core\Field\FieldItemListInterface $items: The field values to be rendered. string $langcode: (optional) The language that should be used to render the field. Defaults to the current content language. Return value array A renderable array for a themed field with its label and all its values. Overrides FormatterInterface::view File core/lib/Drupal/Co

TermDeleteForm::submitForm

public TermDeleteForm::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

Graph::__construct

public Graph::__construct($graph) Instantiates the depth first search object. Parameters $graph: A three dimensional associated array, with the first keys being the names of the vertices, these can be strings or numbers. The second key is 'edges' and the third one are again vertices, each such key representing an edge. Values of array elements are copied over. Example: $graph[1]['edges'][2] = 1; $graph[2]['edges'][3] = 1; $graph[2]['edges'][4] = 1; $graph[3]['edges'][4] = 1;

SettingsCommand::$settings

An array of key/value pairs of JavaScript settings. This will be used for all commands after this if they do not include their own settings array. Type: array File core/lib/Drupal/Core/Ajax/SettingsCommand.php, line 27 Class SettingsCommand AJAX command for adjusting Drupal's JavaScript settings. Namespace Drupal\Core\Ajax Code protected $settings;

ShowButtonsCommand::$changed

Whether the view has been changed. Type: bool File core/modules/views/src/Ajax/ShowButtonsCommand.php, line 20 Class ShowButtonsCommand Provides an AJAX command for showing the save and cancel buttons. Namespace Drupal\views\Ajax Code protected $changed;

LoggerChannelTrait::$loggerFactory

The logger channel factory service. Type: \Drupal\Core\Logger\LoggerChannelFactoryInterface File core/lib/Drupal/Core/Logger/LoggerChannelTrait.php, line 22 Class LoggerChannelTrait Wrapper methods for the logger factory service. Namespace Drupal\Core\Logger Code protected $loggerFactory;

OptionsProviderInterface::getPossibleValues

public OptionsProviderInterface::getPossibleValues(AccountInterface $account = NULL) Returns an array of possible values. If the optional $account parameter is passed, then the array is filtered to values viewable by the account. Parameters \Drupal\Core\Session\AccountInterface $account: (optional) The user account for which to filter the possible values. If omitted, all possible values are returned. Return value array An array of possible values. File core/lib/Drupal/Core/TypedData/OptionsPr

ThirdPartySettingsInterface::getThirdPartySettings

public ThirdPartySettingsInterface::getThirdPartySettings($module) Gets all third-party settings of a given module. Parameters string $module: The module providing the third-party settings. Return value array An array of key-value pairs. File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 54 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namespace Drupal\Core\Config\Entity Code public function getThir