Problem/Motivation

Currently, we reuse the same code for applying raw_options several times within the module - usually multiple times within a library class and across multiple libraries. We should use a trait to avoid so much repeated code. We also realized that '#raw_options', which is used extensively within library classes, is not shown or described in the elements, such as ChartData or ChartAxisBase. Exposing this property within these files will help developers realize that they can use these properties.

Issue fork charts-3596336

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

andileco created an issue. See original summary.

andileco’s picture

Status: Active » Needs review
nikathone’s picture

Status: Needs review » Reviewed & tested by the community

  • andileco committed 16905b16 on 5.2.x
    task: #3596336 Create applyRawOptions trait and include '#raw_options'...
andileco’s picture

Status: Reviewed & tested by the community » Fixed

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

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

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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