views_ui_standard_display_dropdown

views_ui_standard_display_dropdown(&$form, FormStateInterface $form_state, $section) Add a <select> dropdown for a given section, allowing the user to change whether this info is stored on the default display or on the current display. File core/modules/views_ui/admin.inc, line 207 Provides the Views' administrative interface. Code function views_ui_standard_display_dropdown(&$form, FormStateInterface $form_state, $section) { $view = $form_state->get('view'); $display_id

EntityDisplayModeBase::calculateDependencies

public EntityDisplayModeBase::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 87 Class EntityDisplayModeBase Base class for config entity types with settings for form and view modes. Namespace Drupal\Core\Entity Code public function calculateDependen

_update_requirement_check

_update_requirement_check($project, $type) Fills in the requirements array. This is shared for both core and contrib to generate the right elements in the array for hook_requirements(). Parameters $project: Array of information about the project we're testing as returned by update_calculate_project_data(). $type: What kind of project this is ('core' or 'contrib'). Return value An array to be included in the nested $requirements array. See also hook_requirements() update_requirements() update

drupal_xml_parser_create

drupal_xml_parser_create(&$data) Prepares a new XML parser. This is a wrapper around xml_parser_create() which extracts the encoding from the XML data first and sets the output encoding to UTF-8. This function should be used instead of xml_parser_create(), because PHP 4's XML parser doesn't check the input encoding itself. "Starting from PHP 5, the input encoding is automatically detected, so that the encoding parameter specifies only the output encoding." This is also where unsupported enc

_batch_current_set

&_batch_current_set() Returns the batch set being currently processed. File core/includes/batch.inc, line 363 Batch processing API for processes to run in multiple HTTP requests. Code function &_batch_current_set() { $batch = &batch_get(); return $batch['sets'][$batch['current_set']]; }

menu_link_content.module

Allows administrators to create custom menu links. File core/modules/menu_link_content/menu_link_content.module Functions Name Description menu_link_content_help Implements hook_help(). menu_link_content_menu_delete Implements hook_menu_delete(). menu_link_content_path_delete Implements hook_path_delete(). menu_link_content_path_insert Implements hook_path_insert(). menu_link_content_path_update Implements hook_path_update(). _menu_link_content_update_path_alias He

CommentStorage::loadThread

public CommentStorage::loadThread(EntityInterface $entity, $field_name, $mode, $comments_per_page = 0, $pager_id = 0) To display threaded comments in the correct order we keep a 'thread' field and order by that value. This field keeps this data in a way which is easy to update and convenient to use. A "thread" value starts at "1". If we add a child (A) to this comment, we assign it a "thread" = "1.1". A child of (A) will have "1.1.1". Next brother of (A) will get "1.2". Next brother of the par

EntityDisplayModeBase

Base class for config entity types with settings for form and view modes. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses PluginDependencyTraitclass \Drupal\Core\Entity\EntityDisplayModeBase implements EntityDisplayModeInterface File core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 11 Namespace Drupa

DateTimePlus::$dateTimeObject

The DateTime object. Type: \DateTime File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 98 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $dateTimeObject = NULL;

UserLoginForm::validateFinal

public UserLoginForm::validateFinal(array &$form, FormStateInterface $form_state) Checks if user was not authenticated, or if too many logins were attempted. This validation function should always be the last one. File core/modules/user/src/Form/UserLoginForm.php, line 209 Class UserLoginForm Provides a user login form. Namespace Drupal\user\Form Code public function validateFinal(array &$form, FormStateInterface $form_state) { $flood_config = $this->config('user.flood');