Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078

This commit is contained in:
Pantheon Automation 2015-11-04 11:11:27 -08:00 committed by Greg Anderson
parent 6419a031d7
commit 4afb23bbd3
762 changed files with 20080 additions and 6368 deletions

View file

@ -803,7 +803,7 @@ function search_excerpt($keys, $text, $langcode = NULL) {
* @param string|null $langcode
* Language code for the language of $text, if known.
*
* @return
* @return string|null
* A segment of $text that is between word boundary characters that either
* matches $key directly, or matches $key when both this text segment and
* $key are processed by search_simplify(). If a matching text segment is
@ -847,7 +847,6 @@ function _search_find_match_with_simplify($key, $text, $boundary, $langcode = NU
$words = preg_split('/' . $boundary . '+/u', $text, NULL, PREG_SPLIT_OFFSET_CAPTURE);
// Add an entry pointing to the end of the string, for the loop below.
$words[] = array('', strlen($text));
$num_words = count($words);
// Using a binary search, find the earliest possible ending position in
// $text where it will still match the keyword after applying

View file

@ -24,28 +24,28 @@ class ReindexConfirm extends ConfirmFormBase {
}
/**
* Implements \Drupal\Core\Form\ConfirmFormBase::getQuestion().
* {@inheritdoc}
*/
public function getQuestion() {
return $this->t('Are you sure you want to re-index the site?');
}
/**
* Overrides \Drupal\Core\Form\ConfirmFormBase::getDescription().
* {@inheritdoc}
*/
public function getDescription() {
return $this->t("This will re-index content in the search indexes of all active search pages. Searching will continue to work, but new content won't be indexed until all existing content has been re-indexed. This action cannot be undone.");
}
/**
* Overrides \Drupal\Core\Form\ConfirmFormBase::getConfirmText().
* {@inheritdoc}
*/
public function getConfirmText() {
return $this->t('Re-index site');
}
/**
* Overrides \Drupal\Core\Form\ConfirmFormBase::getCancelText().
* {@inheritdoc}
*/
public function getCancelText() {
return $this->t('Cancel');