Currently there is no way of configuring Yoast SEO functionality for records, there are additional extensions like https://github.com/haassie/yoast_news which take care of the functionality for EXT:news.
It would be nice to have atleast the basics of these functionalities handles by the Yoast SEO extension itself.
The basics would be automatic generation of TCA and ext_tables.sql configuration which can get called within your extension.
A (rough) example would be:
YoastSeoForTypo3\YoastSeo\Utility\RecordUtility::configureForTable(
'tx_news_domain_model_news',
[] // Custom overrides for TCA
);
This would make it a lot quicker to add Yoast SEO functionality to custom records.
Currently there is no way of configuring Yoast SEO functionality for records, there are additional extensions like https://github.com/haassie/yoast_news which take care of the functionality for EXT:news.
It would be nice to have atleast the basics of these functionalities handles by the Yoast SEO extension itself.
The basics would be automatic generation of TCA and ext_tables.sql configuration which can get called within your extension.
A (rough) example would be:
This would make it a lot quicker to add Yoast SEO functionality to custom records.