Since our two plugin types (indirectly) inherit from \Drupal\search_api\Plugin\HideablePluginBase and \Drupal\search_api\Plugin\HideablePluginInterface, they define an isHidden() method which is (by default) based on the no_ui key of the plugin definition.
However, I think we don’t actually call that method in our UI code, at the very least there is no test coverage for it. We should change that, especially since #3539576: Add attribute discovery support for the search and suggester plugin types will explicitly document the existence of this property.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Title: Make sure our UID respects the "no_ui" plugin key » Make sure our UI respects the "no_ui" plugin key

drunken monkey’s picture

Status: Active » Needs review

  • drunken monkey committed c1521c7c on 8.x-1.x
    [#3541725] fix: Made sure our UI respects the "no_ui" plugin key.
    
    By:...
drunken monkey’s picture

Status: Needs review » Fixed

Merged.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.