This was discovered while working on 📌 Remove drupal_static from BookManager Fixed .
The BackendChain
service constructor looks like:
public function __construct($bin) {
}
This is forcing a service definition to declare arguments, in *.services.yml
, such as:
book.cache:
class: Drupal\Core\Cache\BackendChain
arguments: ['']
...
or...
book.cache:
class: Drupal\Core\Cache\BackendChain
arguments: ['whatever arbitrary string...']
...
The parameter is not used and not needed.
Make the parameter optional and deprecate it. Will be removed in 9.0.0.
None.
None.
The BackendChain
constructor parameter is optional and deprecated.
None.
None.
Fixed
8.8 ⚰️
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.