Table Actions and making variables more efficient
Interested in any opinions on how people avoid repeating code for issues where a table action, and elements of that are dependent on the status of $record
For example, if:
Obviously a very basic example, but when you start adding a lot more methods, and increasing the complexity of the options, it can feel very cluttered and inefficient.
How do people go about extracting some of this logic for the $record?
For example, if:
Obviously a very basic example, but when you start adding a lot more methods, and increasing the complexity of the options, it can feel very cluttered and inefficient.
How do people go about extracting some of this logic for the $record?