LPS-39819 layout.types portal property should be updated when using a hook to override it.