DiffFormatter::_block_header

protected DiffFormatter::_block_header($xbeg, $xlen, $ybeg, $ylen) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 143 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _block_header($xbeg, $xlen, $ybeg, $ylen) { if ($xlen > 1) { $xbeg .= "," . ($xbeg + $xlen - 1); } if ($ylen > 1) { $ybeg .= "," . ($ybeg + $ylen - 1); } return $xbeg . ($xlen ? ($ylen ? 'c' : 'd') : 'a') . $ybeg; }

FormStateInterface::setFormObject

public FormStateInterface::setFormObject(FormInterface $form_object) Sets the form object that is responsible for building this form. Parameters \Drupal\Core\Form\FormInterface $form_object: The form object. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 606 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function setFormObject(FormInterface $form_object);

_content_translation_preprocess_language_content_settings_table

_content_translation_preprocess_language_content_settings_table(&$variables) (proxied) Implements hook_preprocess_HOOK(); File core/modules/content_translation/content_translation.admin.inc, line 170 The content translation administration forms. Code function _content_translation_preprocess_language_content_settings_table(&$variables) { // Alter the 'build' variable injecting the translation settings if the user // has the required permission. if (!\Drupal::currentUser()->has

Filter::$provider

The name of the provider that owns the filter. Type: string File core/modules/filter/src/Annotation/Filter.php, line 35 Class Filter Defines an filter annotation object. Namespace Drupal\filter\Annotation Code public $provider;

EntityStorageInterface::loadByProperties

public EntityStorageInterface::loadByProperties(array $values = array()) Load entities by their property values. Parameters array $values: An associative array where the keys are the property names and the values are the values those properties must have. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their ids. File core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 105 Class EntityStorageInterface Defines the interface for entity stor

FileSystem::CHMOD_DIRECTORY

Default mode for new directories. See self::chmod(). File core/lib/Drupal/Core/File/FileSystem.php, line 17 Class FileSystem Provides helpers to operate on files and stream wrappers. Namespace Drupal\Core\File Code const CHMOD_DIRECTORY = 0775;

AdminController::__construct

public AdminController::__construct(FormBuilderInterface $form_builder) Constructs an AdminController object. Parameters \Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder. File core/modules/comment/src/Controller/AdminController.php, line 37 Class AdminController Returns responses for comment module administrative routes. Namespace Drupal\comment\Controller Code public function __construct(FormBuilderInterface $form_builder) { $this->formBuilder = $form_build

ThemeRegistry::__construct

ThemeRegistry::__construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, $tags = array(), $modules_loaded = FALSE) Constructs a ThemeRegistry object. Parameters string $cid: The cid for the array being cached. \Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend. \Drupal\Core\Lock\LockBackendInterface $lock: The lock backend. array $tags: (optional) The tags to specify for the cache item. bool $modules_loaded: Whether all modules have already been loaded. Overri

WidgetBase::$fieldDefinition

The field definition. Type: \Drupal\Core\Field\FieldDefinitionInterface File core/lib/Drupal/Core/Field/WidgetBase.php, line 27 Class WidgetBase Base class for 'Field widget' plugin implementations. Namespace Drupal\Core\Field Code protected $fieldDefinition;

InsertCommand::render

public InsertCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/InsertCommand.php, line 67 Class InsertCommand Generic AJAX command for inserting content. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => NULL, 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'settings' => $this