Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Documentation of first param of ViewsUIController::edit() is not relevant as it is about "deleted view" where we are in an edit context.
/**
* Returns the form to edit a view.
*
* @param \Drupal\views_ui\ViewUI $view
* The view being deleted.
* @param string|null $display_id
* (optional) The display ID being edited. Defaults to NULL, which will load
* the first available display.
*
* @return array
* An array containing the Views edit and preview forms.
*/
public function edit(ViewUI $view, $display_id = NULL) {
...
}
Comment | File | Size | Author |
---|---|---|---|
#1 | doc_of_first_param_of-2536448-1.patch | 672 bytes | vbouchet |
Comments
Comment #1
vbouchetComment #2
vbouchetComment #3
cilefen CreditAttribution: cilefen commentedComment #4
longwaveComment #5
jhodgdonGood catch, thanks!
Comment #6
alexpottCommitted e4ac0f8 and pushed to 8.0.x. Thanks!