In book.module:
$entity_types['node']
->setFormClass('book_outline', 'Drupal\book\Form\BookOutlineForm')
now, what does that do?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | setFormClass_0.patch | 1.84 KB | chx |
| #2 | interdiff.txt | 1.08 KB | chx |
| #2 | setFormClass.patch | 1.84 KB | chx |
Comments
Comment #1
tim.plunkett+1
where 'book_outline' is the value of $operation?double \\
Comment #2
chx commentedComment #3
tim.plunkettGreat!
Comment #4
jhodgdonThere is still a double \\ in https://groups.drupal.org/node/413918 -- other than that looks good to me too...
Comment #5
chx commentedI also added the quotes Tim wanted in #1
Comment #6
jhodgdonThanks! Committed to 8.x.