Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By qqboy on
Dear Gurus.
There are so many API functions.
Can some one tell us how to learn API functions.
Such as where to find API document, except api.drupa.org.
what API functions are more important.
API function begin with _ has a need to study or not?
Suppose some API function with complex parameters, should I test it but parameter data to prepare is very hard.
Then what should i do.
For example, I hope to find a block content, but can not find a api function in block.inc or block.module can do this job, then what should I do ?
Regards.
Comments
I think it helps to start
I think it helps to start with a specific task. So given your example, "I hope to find a block content", what do you mean by that, what do you want to do with the content? Is this for a specific block or all blocks?
i hope to get and clone
i hope to get and clone content of block with id , then put it to a specific page, then how can i find a solution (api funcitons) to achieve it?
thank you.
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js
Why not use block admin page,
Why not use block admin page, enable the block and limit visibility to the page you want it on?
how about api.thanks.
how about api.
thanks.
--
for example, hoped to insert a block inside a article. how to do ?
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js
Easy way is to use the Block
Easy way is to use the Block Reference module.
thank you very much.
Thank you very much.
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js