1

I am trying to find out how HTML title is generated in entry index page in Control Panel.

i know it is generated in src/templates/_elements/element.html file by $this->hook('cp.elements.element', [$this, '_getCpElementHtml']); in src/web/View.php and i see there is a line in entry.php which calls author with

return $author ? Craft::$app->getView()->renderTemplate('_elements/element', ['element' => $author]) : '';

but i can't find how craft calls for title attribute.?

1

it seems that first column of table view is special and is called here which calls mentioned hook in question.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.