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 Answer 1

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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