$this->assertRaw('<div'.newAttribute(array('data-contextual-id'=>$id)).'></div>',format_string('Contextual link placeholder with id @id exists.',array('@id'=>$id)));
$this->assertRaw('<div'.newAttribute(array('data-contextual-id'=>$cached_id)).'></div>',format_string('Contextual link placeholder with id @id exists.',array('@id'=>$cached_id)));
...
...
@@ -287,8 +287,8 @@ public function testBlockContextualLinks() {
$form['views_label']['#description']=$this->t('Changing the title here means it cannot be dynamically altered anymore. (Try changing it directly in <a href="@url">@name</a>.)',array('@url'=>\Drupal::url('views_ui.edit_display',array('view'=>$this->view->storage->id(),'display_id'=>$this->displayID)),'@name'=>$this->view->storage->label()));
$form['views_label']['#description']=$this->t('Changing the title here means it cannot be dynamically altered anymore. (Try changing it directly in <a href="@url">@name</a>.)',array('@url'=>\Drupal::url('entity.view.edit_display_form',array('view'=>$this->view->storage->id(),'display_id'=>$this->displayID)),'@name'=>$this->view->storage->label()));
}
else{
$form['views_label']['#description']=$this->t('Changing the title here means it cannot be dynamically altered anymore.');
$message=$this->t('This link is provided by the Views module. The path can be changed by editing the view <a href="@url">@label</a>',array('@url'=>\Drupal::url('views_ui.edit',array('view'=>$id)),'@label'=>$label));
$message=$this->t('This link is provided by the Views module. The path can be changed by editing the view <a href="@url">@label</a>',array('@url'=>\Drupal::url('entity.view.edit_form',array('view'=>$id)),'@label'=>$label));
}
else{
$message=$this->t('This link is provided by the Views module from view %label.',array('%label'=>$label));
$this->assertRaw('<div'.newAttribute(array('data-contextual-id'=>$id)).'></div>',format_string('Contextual link placeholder with id @id exists.',array('@id'=>$id)));
...
...
@@ -185,7 +185,7 @@ public function testPageContextualLinks() {