Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download custom_pub-8.x-1.0-alpha5.tar.gztar.gz 13.5 KB
MD5: e1cca9b996149ef202c1a6ea7656c958
SHA-1: 24f3eb3494e59e78d5c597740254ee64f7db2df8
SHA-256: 5a5e4059bb82b8c0534736d7bcee383fdb58d7f7b081d8231ea07f4f44ae883d
Download custom_pub-8.x-1.0-alpha5.zipzip 20.46 KB
MD5: 20126d578ac24841f3bc7f8f1be6f118
SHA-1: b1dca965a136288730f5e513e57f2a7789fffb2a
SHA-256: ce5123df7140274a9cb421d94e20f4d5bb287320ad86a557f89fb088a52bb1db

Release notes

Moved field definition logic out of the entity form submits and over into the entity class to act on postSave/postDelete. This ensures proper action anytime a custom publish option entity is touched, like uninstalling the module (deletes all custom publish options, and all corresponding field definitions). However, it also deletes the config cache, so that base field information is rebuilt (and therefore they appear on node forms without the user clearing cache, a common complaint of the Drupal 7 version). There did not seem to be much performance impact on a vanilla Drupal 8.0.3 install, YMMV, but I expect the cache nuke logic to improve over time and be more targeted to minimize impact.

Removed the node type options from custom publishing option form, as there does not seem to be a way to respect that setting yet in the node system.

Rebuild all caches when grabbing this update.

Created by: kevinquillen
Created on: 19 Feb 2016 at 16:09 UTC
Last updated: 3 Jun 2016 at 19:27 UTC
Bug fixes

Other releases